code: function SmartRelay(socket, options) {
    stream.Transform.call(this, {});
  
    this.options = merge(Object.create(SmartRelay.DEFAULTS), options || {});
    this.socket = socket;
    this.recentData = [];
  
    this.peers = function () {
      return [];
    };
  }
docs: Smarter implementation of a gossip protocol
  @constructor
  @param {object} socket
  @param {object} options