Fix parsing messages bigger of the buffer
Fix parsing multiple messages in one data chunk