Support Basic authentication with https proxy 

Tries to use the environnement https_proxy by default.