Revert "Split messages with newline into multiple messages"

This reverts commit 6dd35fa890123cc31b77055e38453e5f4a6c67d6.

The commit breaks support for chrome.