             let id = NSURLProtocol.propertyForKey(Constants.LadybugURLProperty, inRequest: task.originalRequest!) as! String
             let req = Ladybug.pendingRequests[id]
             
-            let serverTrust = challenge.protectionSpace.serverTrust!
+            let serverTrust = challenge.protectionSpace.serverTrust
             var allow: Bool?
             
             if challenge.previousFailureCount > 0 {

    case POST = "POST"
    case PUT = "PUT"
    case DELETE = "DELETE"
}

#if os(iOS)

            self.method = method
            self.headers = headers
            self.parameters = parameters
            self.body = body
            self.files = files
            self.credential = credential
            self.willSend = willSend
            self.beforeSend = beforeSend
            self.done = done
    }
    
    public var hashValue: Int {
        get {
            return id.hashValue
        }
    }
}

public func == (lhs: Request, rhs: Request) -> Bool {
