merged random_seed assert into trunk

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@10124 a83610d8-ad2a-0410-a6ab-fc0612d85776
merged changes from RC_1_0

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@10126 a83610d8-ad2a-0410-a6ab-fc0612d85776
remove buffer stats debugging feature

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@10127 a83610d8-ad2a-0410-a6ab-fc0612d85776
a bit more cleaning up of m_ses uses in peer_connection

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