         if nsp != "/" {
             engine?.send("0\(nsp)", withData: nil)
         }
+    }
+    
+    /**
+    Joins namespace /
+    */
+    public func joinNamespace(namespace:String) {
+       self.nsp = namespace
+        joinNamespace()
     }
     
     /**

        addEngine()
        engine?.open(connectParams)
        
        if timeoutAfter == 0 {
            return
        }
        

    private var currentReconnectAttempt = 0
    private var handlers = ContiguousArray<SocketEventHandler>()
    private var connectParams:[String: AnyObject]?
    public private(set) var secure = false
    private var reconnectTimer:NSTimer?
    
    let reconnectAttempts:Int!
