Minor api change in HttpClient.