Multithreaded mode for HttpClient
This is the second ticket in a series aiming to provide multithreaded HA support. For an overall design, see here.
The goal of this ticket is to extend the HttpClient code with MT capability, with ability to open multi connections per URL.
At the completion, the HttpClient code should be MT-capable, which will be proved by unit tests. The code will not be usable yet.