lib/dht.js code fragments.