code: function Client(port, host) {
    if (!(this instanceof Client)) return new Client(port, host);
    host = host || 'localhost';
    port = port || 80;
    this.host = host;
    this.port = port;
    this.agent = new Agent({ host: host, port: port, maxSockets: 1 });
  }
docs: Legacy Interface