merged web seeding fix from RC_0_16

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9047 a83610d8-ad2a-0410-a6ab-fc0612d85776
make socks.py and http.py shut themselves down after a timeout of inactivity (maybe that will fix the problem of them lingering, stalling tests). fix some issues in run_regression_tests.py

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9049 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix valgrind build

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9051 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix valgrind build

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9053 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix valgrind build with stats logging enabled

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9054 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix annoying deprecation warning

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9055 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix issue in run_tests.py

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9056 a83610d8-ad2a-0410-a6ab-fc0612d85776
lower the timeout for valgrind tests a bit

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9057 a83610d8-ad2a-0410-a6ab-fc0612d85776
fixed typo in parse_test_results.py

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