Accept extra commands for the socket.io API
Define mocked "on" method for extra commands
Ignore undefined extra commands