Fix message.events parsing.
Fix packet/pings assignment.