merged changes from RC_1_0

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

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10256 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fix bug in hostname resolver

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

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