Simple example for socket.io authorization