implements Chat packet creating in the PacketFactory