Using util.inherits() to inherit from EventEmitter