optimize piece printing in client_test

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10371 a83610d8-ad2a-0410-a6ab-fc0612d85776
some DHT logging and parsing

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10372 a83610d8-ad2a-0410-a6ab-fc0612d85776
do a slightly better job of deciding which peers to save in resume data

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10374 a83610d8-ad2a-0410-a6ab-fc0612d85776