updated var names in http_client