Adding timers based on clock ticks. This is the first step towards implementing RTO estimation.
Improved clock granularity.
RTO estimator conforming to RFC 6298.
INITIAL_RTO is 1 second, which corresponds to 1 / CLOCK_TICK ticks.
Integrated RTO estimation and new retransmission timer functionality into the protocol. WARNING: some tests are broken.
Fixing broken tests.
All tests fixed, and some more added.
Timers don't need to be hashed yet.
Clearing possible bogus RTT after sufficent retransmissions (cf. RFC 6298).
Adding demo scripts.
New example: file transfer.
Improving examples; adding new modes for closing sockets.
Removing TODO. Won't implement (yet).
Bugfix: usable window was incorrectly calculated when upper window limit was below SND_NXT.
Merge pull request #1 from lukius/rto-estimation

RTO estimation