Update httpclient.js