Tweaking zero-copy serialization in TCP parcel port, fixing a const-correctness problem