Changed visibility of the httpClient so it can be extended