Fix HTTPClientResponse.writeJsonBody to send a proper "TransferEncoding" header.