switching from torrent upload to socket.io upload