Force SSL negociation to use last TLS

Since yesterday, calling the API generates loads of "SSL routines:SSL3_GET_RECORD:wrong version number" as well as "SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac". 

We figured it could be coming from Google deprecating SSL v3. 
Using CURLOPT_SSLVERSION to set the remote SSL protocol version to TLSv1 worked for us.