improved http client