Bundle struct should be treated as const during processing
Currently we have functions such as bundle6_recalculate_header_length_internal
, which modify values stored inside the bundle structure. Those should be executed once after receiving / creating the bundle struct and then the bundle should stay constant.
This would allow us to make the bundle parameter to sunctions such as *_fragment_bundle
and bundle*_get_serialized_size
constant.