Add support for using HTTP proxies.  Supported auth types are:
- no authentication
- basic authentication