migrate to EventEmitterReader from EventEmitterInputStream