EventEmitter that emits events on both client and server?

Just wondering if anyone knows a solution to this problem.

I want an event emitter class on both client and server. As in, when it is emitted on either side, it will propagate to both client and server.
The only real thing I could find is to try to do a Meteor.onConnection and saving the socket then trying to emit it in some convoluted way like that.