VirtualClock: a new traffic control algorithm for packet-switched networks