Created pub.isValidIncomingMessage as a single spot for pre-validating the structure of an incoming message. Also enabled usernames & credentials to be set during authentication, also set usernames to be sent with the roomData.