AIMD implementation. Doesn't handle retransmissions though.