get implementation according to kademlia spec.