Fix compilation with libtorrent 1.x.x.
Fix compilation with libtorrent 1.x.x v2
Merge pull request #636 from sledgehammer999/libtorrent_trunk

Fix compilation with libtorrent 1.x.x.
Use new Libtorrent version define.
Merge pull request #705 from sledgehammer999/peer_tab2

Use new Libtorrent version define.