Added support to work behind an HTTP Proxy