Adds support for carriage returns in message to be encoded