Fix issue causing connection fail

  ~/.rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/net/http.rb:800:in `connect':
  SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A:
  unknown protocol (OpenSSL::SSL::SSLError)