 
 import Foundation
 import CoreFoundation
+import Security
 
 public protocol WebSocketDelegate: class {
     func websocketDidConnect(socket: WebSocket)

            inputStream!.setProperty(settings, forKey: kCFStreamPropertySSLSettings as! String)
            outputStream!.setProperty(settings, forKey: kCFStreamPropertySSLSettings as! String)
        }
        isRunLoop = true
        inputStream!.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode)
        outputStream!.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode)

    public var voipEnabled = false
    public var selfSignedSSL = false
    public var security: Security?
    public var supportedSSLCypherSuites: [SSLCipherSuite]?
    public var isConnected :Bool {
        return connected
    }
