Make PacketParser totally safe