Use utf8-safe method to calculate body length

Parse thrown HTTP 400 when we send utf8 content. Thus, use Buffer.byteLength(body) to correctly calculate body.length