409028 - Jetty HttpClient does not work with proxy CONNECT method.

The problem was due to the fact that the server replied with HTTP/1.0
to the CONNECT request; because of this, the parser was set as non
persistent, and the tunnel was immediately closed.

Now we are setting the parser as persistent if the method is a CONNECT,
no matter what HTTP version the server specifies.
Merged branch 'jetty-7' into 'jetty-8'.
412846 - jetty Http Client Connection through Proxy is failing with Timeout.

The problem was due to the fact that the server replied with HTTP/1.0
to the CONNECT request; because of this, the parser was not set in the
"head response mode".

Now we are setting the parser in the head response mode also if the
request method is a CONNECT.