Handle multiline messages

Addresses #30 
I suppose; although it will make the integration tests less susceptible to external failures.