fix incorrect behaviour DefaultHttpProxyServer for persistant connection
Merged fixes for HEAD response decoding from nataliakoval