Fixes msg buffer encoding boundary error.
Fixes msg buffer encoding boundary error.

Holy moly. This only happens when the encoded message size is exactly the target size. Prevents the buffer from making any progress.
mkrysiak/logplex,voidlock/logplex,srid/logplex