Add a custom exception class.
Fix the autoloader.
Remove to SSL-related cURL options.

Their defaults are now sufficient, and SSL_VERIFYHOST was throwing an error because the setting we were using is deprecated.
Throw our custom Exception when there is an error executing the request.