Strict encoding: deterministic binary serialization for networking & client-side validation