httpClient changes to allow for proxy server