HttpClient refactoring.
Statistics implemented. Naive. Unoptimized.