move the reusable length buffer onto the client (racey otherwise)