'This method converts the HTTP/2 header set into something that looks
like HTTP/1.1. In particular, it strips the \'special\' headers and adds
a Host: header.
@param headers: The HTTP/2 header set.
@type headers: A L{list} of L{tuple}s of header name and header value,
both as L{bytes}.'

def _convertHeaders(self, headers):

    gotLength = False
    for header in headers:
        if (not header[0].startswith(':')):
            gotLength = (_addHeaderToRequest(self._request, header) or gotLength)
        elif (header[0] == ':method'):
            self.command = header[1]
        elif (header[0] == ':path'):
            self.path = header[1]
        elif (header[0] == ':authority'):
            _addHeaderToRequest(self._request, ('host', header[1]))
    if (not gotLength):
        if (self.command in ('GET', 'HEAD')):
            self._request.gotLength(0)
        else:
            self._request.gotLength(None)
    self._request.parseCookies()
    expectContinue = self._request.requestHeaders.getRawHeaders('expect')
    if (expectContinue and (expectContinue[0].lower() == '100-continue')):
        self._send100Continue()
