fix PING handling
inherit from EventEmitter