fix accidental protected method in the HttpClient interface