Sync kademlia with dfuntesting.