Packet switching with common time reference over links with dynamically varying delays