Prevent encoding problems while reassembling packets

Thanks to @montymintypie

Fixes koraktor/steam-condenser#192