Stash/proxying agent

Support for proxies that don't allow `CONNECT` for HTTP requests.