change http client to using proxy http client