HTTP client is passed by reference now