Relax message checks.

This allows spaces in shutdown messages.
Merge branch 'message'