Avoiding Eclipse attacks on Kad/Kademlia: an identity based approach