content-length should use bytesize instead of length

Because of unicode...