sendPacket method
Sends a packet
Implementation
void sendPacket(UDXPacket packet) {
final now = clock.now();
packet.sentTime = now;
packet.lastSentTime = now;
lastSentPacketNumber = packet.sequence;
_sentPackets[packet.sequence] = packet;
}