Network-aware overlays with network coordinates