remove unused socket.io code