Fix minor bug with socket.io example