dist/multiplex.js
function copyToClient(req, res) {
        return httpGet({
          hostname: t.options.remoteClientHostname,
          port: t.options.remoteClientPort,
          path: req.originalUrl,
          method: 'GET'
        }).then(function (obj) {
          var contentType = getContentType(obj.response);
          if (contentType) res.set("Content-Type", contentType);
          res.send(obj.data);
        });
      }
function copyToClient(req, res) {
        return httpGet({
          hostname: t.options.remoteClientHostname,
          port: t.options.remoteClientPort,
          path: req.originalUrl,
          method: 'GET'
        }).then(function (obj) {
          var contentType = getContentType(obj.response);
          if (contentType) res.set("Content-Type", contentType);
          res.send(obj.data);
        });
      }
Gets data from the remote server and copies it to the client