code: function(options) {
        var t = this,
            startTime = Date.now();
  
        // Default the firewall value
        if (_.isUndefined(options.firewall)) {
          options = _.extend({},options, {firewall: t.firewall});
        }
  
        // Generate a unique ID for the connection
        options.id = Monitor.generateUniqueCollectionId(t.connections);
  
        var connStr = 'Conn_' + options.id;
        if (options.hostName) {
          connStr += ' - ' + options.hostName + ':' + options.hostPort;
        }
        log.info('addConnection', connStr);
  
        // Instantiate and add the connection for use, once connected
        var connection = new Connection(options);
  
        // Add a connect and disconnect function
        var onConnect = function(){
          t.trigger('connection:add', connection);
          log.info('connected', connStr, (Date.now() - startTime) + 'ms');
        };
        var onDisconnect = function(){
          t.removeConnection(connection);
          connection.off('connect', onConnect);
          connection.off('disconnect', onConnect);
          log.info('disconnected', connStr, (Date.now() - startTime) + 'ms');
        };
        connection.on('connect', onConnect);
        connection.on('disconnect', onDisconnect);
  
        // Add to the connections
        t.connections.add(connection);
        return connection;
      }
docs: Add a connection to a remote Monitor process
  
  @method addConnection
  @protected
  @param options {Object} - Connection parameters
  @param options.hostName {String} - Name of the host to connect with
  @param options.hostPort {Integer} - Port number to connect with
  @param options.url {String} - The URL used to connect (created, or used if supplied)
  @param options.socket {io.socket} - Pre-connected socket.io socket to a Monitor server.
  @param options.gateway {Boolean} - Allow this connection to use me as a gateway (default false)
  @param options.firewall {Boolean} Firewall inbound probe requests on this connection?
  @return connection {Connection} - The added connection