This could mess with messages that end in a newline.  Would be better to strip message first to prevent that.