Set message flags
Merge pull request #27 from hurtonm/master

Set message flags