Provides a listener to ensure only server messages are accepted on the client