http_connection cleanup

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10370 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
optimize piece printing in client_test

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10371 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
some DHT logging and parsing

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10372 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
do a slightly better job of deciding which peers to save in resume data

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10374 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda