Fixed misspelling in Packet.hpp

The typedef after packet_chat was misspelled as "typefef".
I changed it into the proper spelling.