Use the new DHT API
Also stop the DHT when closing the torrent session
Merge pull request #37 from nictuku/master

Use the new DHT API