added changes to http client