performance optimization of utorrent and libtorrent webui. reduce the number of synchronous round-trips to libtorrent in the webui calls