add support for decapitated openssl for mac

This pull request add support for the old and decapitated openssl on mac.

Since we don't use any of the new OpenSSL features; and Apple still includes OpenSSL in Yosemite. I think that it isn't too bad to add support for the system OpenSSL.