add user/password for proxy support
fix bad HTTP headers size detection through proxy