SRTP: better error message in WeaponRecord::loadFromStream()