Add reorganization of read buffer.
Add reorganization of read buffer.

This is only done in case that more than one message was read into the
buffer.

gatzka/cjet,gatzka/cjet,mloy/cjet,mloy/cjet,mloy/cjet,mloy/cjet,gatzka/cjet,gatzka/cjet,mloy/cjet,gatzka/cjet