instructions about setting content-length to length of buffer

Use `Buffer.byteLength(string)` instead to avoid creating a new buffer unnecessarily.