basic proxy support for simple http client

Add basic support for HTTP proxies to the simple http client.
Includes support for CONNECT transparent proxies (for SSL connections).