implement torrent commands in libtorrent-webui