Fix OpenSSL::SSL::SSLError

Some users see SSL certificate errors when making API requests from Ruby. For
example:

    SSL_connect returned=1 errno=0 state=SSLv3
   read server certificate B: certificate verify failed

http://railsapps.github.io/openssl-certificate-verify-failed.html