         return !self.sslIdentityAndCertificates().isEmpty
     }
     
-    
+    override public func sslIdentityAndCertificates() -> [AnyObject]! {
+        
+        let cocoaHTTPServer: CocoaHTTPServer.HTTPServer = self.config().server;
+        
+        let httpServer: HTTPServer = cocoaHTTPServer as HTTPServer;
+        
+        let server = httpServer.server;
+        
+        return server.sslIdentityAndCertificates;
+    }
 }
 
 // MARK: Protocols

public enum ServerStatusCode: Int {
    
    /** OK status code. */
    case ServerStatusCodeOK = 200
    
    /** Bad request status code. */
    case ServerStatusCodeBadRequest = 400
    
    /** Unauthorized status code. e.g. Used when authentication is required. */
    case ServerStatusCodeUnauthorized = 401 // not logged in
    
    case ServerStatusCodePaymentRequired = 402
    
    /** Forbidden status code. e.g. Used when permission is denied. */
    case ServerStatusCodeForbidden = 403 // item is invisible to user or api app
    
    /** Not Found status code. e.g. Used when a Resource instance cannot be found. */
    case ServerStatusCodeNotFound = 404 // item doesnt exist
    
    /** Method Not Allowed status code. e.g. Used for invalid requests. */
    case ServerStatusCodeMethodNotAllowed = 405
    
    /** Conflict status code. e.g. Used when a user with the specified username already exists. */
    case ServerStatusCodeConflict = 409 // user already exists
    
    /** Internal Server Error status code. e.g. Used when a JSON cannot be converted to NSData for a HTTP response. */
    case ServerStatusCodeInternalServerError = 500
    
};



public class ServerRequest {
    
    let requestType: ServerRequestType
    
    let connectionType: ServerConnectionType
    
    let entity: NSEntityDescription
    
    let underlyingRequest: AnyObject
    
    /** The resourceID of the requested instance. Will be nil for @c POST (search or create instance) requests. */
    
    let resourceID: Int?
    
    let JSONObject: [String: AnyObject]?
    
    let functionName: String?
    
    init(requestType: ServerRequestType, connectionType: ServerConnectionType, entity: NSEntityDescription, underlyingRequest: AnyObject, resourceID: Int?, JSONObject: [String: AnyObject]?, functionName: String?) {
        
        self.requestType = requestType
        self.connectionType = connectionType
        self.entity = entity
        self.underlyingRequest = underlyingRequest
        
        if (resourceID != nil) {
            self.resourceID = resourceID
        }
        if (JSONObject != nil) {
            self.JSONObject = JSONObject
        }
        if (functionName != nil) {
            self.functionName = functionName
        }
    }
}

public class HTTPServer: RoutingHTTPServer {
