Refactors 'HttpRequestFactory'
Removes dead code
Multi-threading works.