docs: function IRC(cfg) {
    cfg = (typeof cfg === 'object') ? cfg : {};
    this.debug = cfg.debug;
    this.sendToClient = cfg.sendToClient;
    this.updateCredentials = cfg.updateCredentials;
    this.__forceDisconnect = false;
    this.__clientConnecting = false;
    this.__client = undefined;
    this.__jobQueue = []; // list of handlers to confirm when message delivery confirmed
    this.__channels = new Set();
    this.__handledActors = new Set();
  }