Fixed misspelling in Packet.hpp

The typedef after packet_chat was misspelled as "typefef". I changed it to the right spelling "typedef"