EventEmitter duplexer for engine.io