code: function WebKitInspector(port, host, href, callback) {
      if (!(this instanceof WebKitInspector)) {
          return new WebKitInspector(port, host, href, callback);
      }
  
      this.closed = false;
      this._callbacks = {};
      this._id = 0;
  
      this.debug = false;
  
      // Add library domains
      var domains = Object.keys(library);
      for (var i = 0, l = domains.length; i < l; i++) {
          this[ domains[i] ] = new library[ domains[i] ](this);
      }
  
      // Setup host and port parameters
      if (typeof port !== 'number') {
          throw new Error('A port number must be speficed');
      }
      if (typeof host !== 'string') {
          throw new Error('A host name must be speficed');
      }
      if (typeof href !== 'string') {
          throw new Error('A page url must be speficed');
      }
  
      // Add callback to connect event
      if (callback) this.once('connect', callback);
  
      // Try to connect to WebKit Server
      this._tryConnect(port, host, href, 0, 2000);
  }
docs: Main constructor