Added support for TCP/HTTP proxy

I've added support for specifying a proxy server as host:port.