completed the http client