Update example to work with socket.io 1.0