added a custom error to start catching any http errors in a single place
added a check to make sure openssl is enabled
fixed the logic
Merge pull request #138 from caseysoftware/master

Added a check for openssl support