Fix #1051 Parse auth properly when using non-tunneling proxy
Merge pull request #1053 from isaacs/master

Fix #1051 Parse auth properly when using non-tunneling proxy