Add parsing of chat messages.
Add getPayload function to Packet.