[RESTEASY-1043] ClientProtocolException resulting from HttpClient connection handling bug HTTPCLIENT-1340
Merge pull request #485 from psakar/Branch_2_3

[RESTEASY-1043] ClientProtocolException resulting from HttpClient connection handling bug HTTPCLIENT-1340