Update http-client-middleware.js