Detection and mitigation of the eclipse attack in chord overlays