reject (discard) bad messages
Merge branch 'handle-bad-message' into qa