you should override io.Socket.prototype.emit to catch al the emitted events ... now you catch only the event emitted on the global namespace.