Implement custom HttpClient class