google/google-api-php-client — pull request #360 by lostick (2014-10-21 10:10:10+00:00)
Title: 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.