constructor ({ abort, socket, request, contentLength, client, expectsPayload, header }) {
    this.socket = socket
    this.request = request
    this.contentLength = contentLength
    this.client = client
    this.bytesWritten = 0
    this.expectsPayload = expectsPayload
    this.header = header
    this.abort = abort

    socket[kWriting] = true
  }
@param {object} arg
@param {AbortCallback} arg.abort
@param {import('net').Socket} arg.socket
@param {import('../core/request.js')} arg.request
@param {number} arg.contentLength
@param {import('./client.js')} arg.client
@param {boolean} arg.expectsPayload
@param {string} arg.header