Remove legacy socket.io code