SocketIO class demo