allow custom client to set the http protocol version