merged random_seed assert into trunk

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

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

git-svn-id: http://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: http://svn.code.sf.net/p/libtorrent/code/trunk@10128 a83610d8-ad2a-0410-a6ab-fc0612d85776
close files when stopping a torrent

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

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

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10132 a83610d8-ad2a-0410-a6ab-fc0612d85776
handle EOF error on windows when checking

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10133 a83610d8-ad2a-0410-a6ab-fc0612d85776
merged SOCKS4 fix into trunk

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10136 a83610d8-ad2a-0410-a6ab-fc0612d85776
merge error code fix from RC_1_0

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10139 a83610d8-ad2a-0410-a6ab-fc0612d85776
hide make_error_code function from documentation

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