Improve formatting and documentation in libtorrent