Improvements to HTTP proxy negotiation