Retransmission implemented

There's one more step necessary for retransmission, which is adding some system to chase up packets which have been delayed for a long period of time or are otherwise holding up existing packets.

This needs to be done such that simple out-of-order transmissions do not cause retransmission requests to be sent