(#204) put a lock on Message.ToString to avoid concurrency issues
credits for #204
Merge pull request #237 from connamara/204

put a lock on Message.ToString to avoid concurrency issues (#204)