         return _secure
     }
     public var sid:String? {
-        return _sid
+        return engine?.sid
     }
     
     /**

    private var handlers = ContiguousArray<SocketEventHandler>()
    private var connectParams:[String: AnyObject]?
    private var _secure = false
    private var _sid:String?
    private var _reconnecting = false
    private var reconnectTimer:NSTimer?
    

        currentReconnectAttempt = 0
        reconnectTimer?.invalidate()
        reconnectTimer = nil
        
        // Don't handle as internal because something crazy could happen where
        // we disconnect before it's handled
