Adjust length to be correct in light of the value of the encoded response length not including the space to it is written to