Removing HTTP 1.0 protocol

I want to use http-client with HTTP/1.1 protocol but this line is forcing HTTP/1.0. It could be great to let us choose of the protocol version.