msg/async/frames_v2: introduce FrameAssembler
Start separating frame assembly and disassembly code from
frame sending, receiving and handling code, so that assembly
and disassembly pieces can be unit tested and hopefully also
shared between different messengers (e.g. crimson).
This commit factors out the assembly code from Frame.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
872b125a5b817def84ed5d70d204fec5a4fa7c1e)
Conflicts:
src/msg/async/frames_v2.h [ commit
1a975fb3a801 ("msg/async:
fix unnecessary 4 kB allocation in secure mode.") not in
octopus ]