Not forcing HTTP/1.0 when using the stream adapter and adding Connection: close when a Connection header is not present and using HTTP/1.1