Fix content-length sending.