Fix client debug assertion with large packets