HttpClient is not a static class anymore

HttpClient is not a static class, which will make it easier to mock in
the test and follows what's been done in the Java SDK