Eclipse Attacks on Overlay Networks: Threats and Defenses