Fix empty message if read buffer ends with mesasge type char
Fix message parsing stop if message ends in current buffer