 
     var buffer: [Int8] = [Int8](count: length + 1, repeatedValue: 0)
     strncpy(&buffer, data, length)
-    context.memory.currentHeaderField += String.fromCString(buffer)!
+    context.memory.buildingHeaderField += String.fromCString(buffer)!
 
     return 0
 }

    var minorVersion: Int = 0
    var headers: [String: String] = [:]
    var body: [Int8] = []
    
    var currentHeaderField = ""
    var completion: HTTPResponse -> Void



    var buffer: [Int8] = [Int8](count: length + 1, repeatedValue: 0)
    strncpy(&buffer, data, length)
    if context.memory.buildingHeaderField != "" {
        context.memory.currentHeaderField = context.memory.buildingHeaderField
    }
    context.memory.buildingHeaderField = ""
    let headerField = context.memory.currentHeaderField
    let previousHeaderValue = context.memory.headers[headerField] ?? ""
    context.memory.headers[headerField] = previousHeaderValue + String.fromCString(buffer)!
