Add function to support CRLF in messages