feat(protocol): add PacketHelper class