Fix parsing messages containing linebreaks

(sent from Hangouts for Android)