code: function (initd) {
      const self = this;
  
      /*
      this.serverPort = 6767;
      this.responseCount = 1; // not sure if this is supposed to be per-subscription
      this.server = http.createServer(function (req, res) {
          self._serviceCallbackHandler(req, res);
      });
  
      this.server.listen(this.serverPort);
      */
      self.responseCount = 1; // not sure if this is supposed to be per-subscription
      self.server = http.createServer(function (req, res) {
          self._serviceCallbackHandler(req, res);
      });
  
      self.server.listen(initd.listen_port || 0);
      self.serverPort = self.server.address().port;
  
      logger.info({
          method: "EventHandler",
          port: self.serverPort,
      }, "UPnP listening on this port");
  
      self.subscriptions = {};
  }
docs: /* ---------------------------------------------------------------------------------- /*
  headers:
  {
  "host":"192.168.0.122:6767",
  "content-type":"text/xml",
  "content-length":"132",
  "nt":"upnp:event",
  "nts":"upnp:propchange",
  "sid":"uuid:4af70162-1dd2-11b2-8f95-86a98a724376",		// subscription ID
  "seq":"2"
  }
  
  content:
  <e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
  <e:property>
  <BinaryState>1</BinaryState>
  </e:property>
  </e:propertyset>