Adding way of overriding httpClient.