code: function Peer(server,rid,pid,dir,rm,nv){
    
    Emitter.Target.call(this,emitter);
    this[emitter].set('ready');
    
    this.direction = dir;
    
    this[queue] = [];
    this[k] = 0;
    this[n] = nv || 0;
    
    this[petitions] = {};
    this[ngid] = 0;
    
    this[srv] = server;
    this[id] = {
      rid: rid,
      pid: pid
    };
    
    rm[total]++;
    this[room] = rm;
    rm[peers][pid] = this;
    
    this.once('closed',cleanup);
    
    plugins.give('peer',this);
    rm[emitter].give('peer',this);
    
  }
docs: Peer object