重构httpclient