Added ability to use a proxy for outbound requests.