added maxListener option to be used in emitter.setMaxListeners(n)