 let crlf: StaticString = "\r\n"
 let headerSeparator: StaticString = ": "
 
-private let connectionUtf8 = "connection".utf8
 
 // Keep track of keep alive state.
 internal enum KeepAliveState {

    }
    
    private func isConnectionHeader(_ header: HTTPHeaderIndex) -> Bool {
         return self.buffer.equalCaseInsensitiveASCII(view: connectionUtf8, at: header)
    }
    
    /// Add a header name/value pair to the block.

        case .keepAlive:
            return true
        case .unknown:
            for header in self.headers {
                if self.buffer.equalCaseInsensitiveASCII(view: "connection".utf8, at: header.name) {
                    if self.buffer.equalCaseInsensitiveASCII(view: "close".utf8, at: header.value) {
                        return false
                    }
                    return self.buffer.equalCaseInsensitiveASCII(view: "keep-alive".utf8, at: header.value)
                }
            }
            // HTTP 1.1 use keep-alive by default if not otherwise told.
            return version.major == 1 && version.minor >= 1
        }
    }
}
