A mismatch controller for implementing high-speed rate-based transport protocols