MachiavelliTrinity/SimpleWoW — comment on commit c9b417850da513f857e024c659a70d83b93ac52c
File: Client/World/Network/ServerHeader.cs line 23
By MachiavelliTrinity:

It can't. I now see that this is covering up the real problem. Something is wrong with reading header from the socket.
I had a theory that the WorldSocket.Remaining variable isn't changed correctly in some cases, leading to a Remaining header size of 5k. Still need to do further digging on that.