Force use of TLS 1.2 connection, as default SSLv3 ruby uses is insecure

I'm guessing you reconfigured your servers, or you are using cloudflare or someone that turned of sslv3. This patch makes the ruby client work again.