include fixes from RC_0_16 into this release

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