OpenSSL integration

This should work with OpenSSL 1.0.1c or newer.  I haven't tried older version of OpenSSL.  It's probably not going to work with 0.9.8 due to changes in the EVP layer.  Use the --enable-openssl option when configuring the build.