added hook for providing a proxy to HttpClientAdapter