Added io reference for socket.io usage