fix(iroh-net): When switching to a direct path reset the mtu
Description
When we switch paths we reset the congestion controller, but we also need to reset the MTU to start from 1200 again.
We have a reported case where QUIC has increased the MTU of the path already on the relay, then switches to a direct path with an MTU of 1200 and ends up with everything blackholed. So when switching the path we should also reset the MTU discovery to start again.
Under normal circumstances the MTU wouldn't have increased much yet anyway, so while theoretically a slight performance decrease for most users this will not be very noticeable.
Breaking Changes
None.
Notes & open questions
This PR is currently totally broken as it relies on a new iroh-quinn release. I'm creating this as a draft PR to avoid losing sight of this.
The functionality has already been tested and integrates well with iroh.
Change checklist
- [ ] Self-review.
- [ ] Documentation updates following the style guide, if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.