httpclient upgrade