destroy() aborted and deleted clients in the queue but did not delete clients that were currently being processed (clients_in_proc). If a thread was terminated while processing a client, that client object and its CURL handle were leaked.
PIHTTPClient migrated to curl_multi_api
take out common http entities to http_common dir