fix client_test build on windows

git-svn-id: http://libtorrent.googlecode.com/svn@10540 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fix msvc build warnings

git-svn-id: http://libtorrent.googlecode.com/svn@10541 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
merged changes from RC_1_0

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