refactor the http_client into pipeline property.