Trims messages. Allows newlines.