docs: function createClient(connect, id, opt) {
  
    if (!connect || typeof connect !== 'object') {
      throw new TypeError('connect required');
    } else if (!id) {
      throw new TypeError('id required');
    }
    var options = opt || Object.create(null);
    var my = {
      autoReconnect: options.autoReconnect === false ? false : true,
      maxRetries: Number(options.maxRetries) || true,
      delay: Number(options.delay) || 2000
    };
  
    function autoReconnect() {
  
      if (my.maxRetries === true || --maxRetries > 0) {
        setTimeout(function() {
  
          if (connect.port) { // tpc
            client.connect(connect.port, connect.host);
          } else { // unix socket
            client.connect(connect.path);
          }
          return;
        }, my.delay);
      }
      return;
    }
  
    var client = net.createConnection(connect).on('connect', function() {
  
      return client.write(String(id));
    });
    if (my.autoReconnect) {
      client.on('close', autoReconnect);
    }
    client.close = function() {
  
      client.removeListener('close', autoReconnect);
      return client.end();
    };
  
    return client;
  }