working on http client