Add Auth to Proxy

adding some support to allow proxy with auth.

p.s. sorry about the other random pull requests, using github GUI to do this is hard...