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

    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?
    

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