[Http] Fix curl protocol version

Hey!

This PR fixes the curl protocol version sent to the server with the http client. 

See http://php.net/manual/fr/function.curl-setopt.php (CURLOPT_HTTP_VERSION) for more information.