use util.inherits, apparently thats the only safe way to extend eventEmitter