[wip] idea for implementation of the processing logic for mqtt layers

idea is to make the layer context swappable, so that can be many requests
that can be processed partially, than replaced with the new ones, and
continued after some time