 		
 		var httpVersion: String {
 			return self.requestParams["SERVER_PROTOCOL"] ?? "HTTP/1.0"
+		}
+		
+		var httpKeepAlive: Bool {
+			return (self.requestParams["HTTP_CONNECTION"] ?? "").lowercaseString.containsString("keep-alive")
 		}
 		
 		init(net: NetTCP) {

		
		func pushHeaderBytes() {
			if !wroteHeader {
				if self.httpOneOne {
					header += "Connection: keep-alive\r\n\r\n" // final CRLF
				} else {
					header += "\r\n" // final CRLF
				}

			req.writeBodyBytes([UInt8](msg))
		}
		
		if req.httpKeepAlive {
			self.handleConnection(req.connection)
		} else {
			req.connection.close()
