     func sendHeaderEndOfLine() throws
     func send(headerLine line: String) throws
     func send(headerKey key: String, headerValue value: String) throws
-    func send(string: String) throws
+    func send(_ string: String) throws
 
     func receive() throws -> HTTPStreamHeader
     func receive() throws -> Request
 
-    func send(response: Response, keepAlive: Bool) throws
-    func send(body: Response.Body) throws
+    func send(_ response: Response, keepAlive: Bool) throws
+    func send(_ body: Response.Body) throws
 }
 
 extension HTTPStream {
     func receiveByte() throws -> Byte? {
-        return try receive(max: 1).first
+        return try receive(upTo: 1).first
     }
 
     func receiveLine() throws -> String {

        return try HTTPStreamHeader(stream: self)
    }

    func send(response: Response, keepAlive: Bool) throws {
        let version = response.version
        let status = response.status


        }

        while !closed, let byte = try receiveByte() where byte != newLine {
            append(byte: byte)
        }

        return line
