merged in http_client