The error
libssl.h:5:25: error: openssl/bio.h: No such file or directory
libssl.h:6:25: error: openssl/ssl.h: No such file or directory
indicates that the OpenSSL developer libraries are missing. On many Linux distros, the package for that is called 'libssl-dev'. If you need help with installing those libraries, just let me know. In that case, please tell me what OS you are using.