Fix compression when asked to send more data than a full chunk