Ref: major refactoring of protocol packets to optimize the work with `Buffer`. Updated tests.