Resilient Routing Layers for Recovery in Packet Networks