ttorrent: Improve performance against lossy peers.