Fix valueless message tags (closes #684)
Escape message tag values (ref #684)
Merge pull request #693 from jpnurmi/tags

Valueless & escaped message tags