http_client Expand API with the "old" http_query function