Better way to handle messages with mixed EOL.

...and fixes "Nine" issue as well.