Fixed crash on a no-argument message

If a message from the socket.io server is emitted with no arguments, it
now is properly received