now lets the user supply http.client