Fixed DHT

This PR fixes https://github.com/jlouis/etorrent/issues/137
and one more bug in DHT.