change the host in the http client