Revert "Reduce reallocation in packetBuffer"

This reverts commit 84dee6f2d6dc89354cc649880501030a6648f0b4.