1.
Replace the current configuration with the fully validated temporary object.
2.
Check that the payload fits the remaining input and the application size limit.
3.
Verify that the fixed header is present and its version is supported.
4.
Allocate temporary storage, then decode and validate the complete payload there.
5.
Interpret the payload-length field according to the supported version.