COMETD-526 - Strengthen validation of message fields.

Implemented validation of "channel", "id" and "subscription"
fields, that are copied back to the reply message.