Solution for http client