Parenthesise explicitly for readability.
Update comment.

The client no longer acknowledges the receipt of a ticket.
Make assert easier to read.
Change '&' operator to '=='.

At this point, only one message flag can be set for a protocol message.
Therefore, it is sufficient to test using '==' rather than checking single
bits.