fix the order of events

the order of events in the array is wrong. please see here:
https://github.com/Automattic/socket.io-parser/pull/22#issuecomment-68116665