Removing newlines from incoming messages.