At present if an invalid message is received it's thrown away silently.
Pass invalid messages to a stub protocol handler which can be overridden to show a message to the user.