rewrite findpeer and other dht tweaks