http_client: make use of a stack of free connections rather than a linked list
segregated the test HttpService classes in their own library