The Nagle Algorithm