updated httpclient utilities