The BATCH feature is a form of a server-suggested message processing
delays.
To implement this, we can record all inflight batches, handle start/end
in handle_batch and collect all pending messages in the entrypoint of
the message handler as long as they have a correct batch id.
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>