                 return
             }
             
-            // println(data)
+            // NSLog("Got response: \(res)")
             
             if let str = NSString(data: data, encoding: NSUTF8StringEncoding) as? String {
                 dispatch_async(self!.parseQueue) {

        }
        
        self.waitingForPoll = true
        let req = NSURLRequest(URL: NSURL(string: self.urlPolling! + "&sid=\(self.sid)&b64=1")!)
        
        self.doRequest(req)
    }
    
    private func doRequest(req:NSURLRequest) {
        if !self.polling {
            return
        }
        
        self.session.dataTaskWithRequest(req) {[weak self] data, res, err in
            if self == nil {
                return

        self.ws = WebSocket(url: NSURL(string: self.urlWebSocket! + "&sid=\(self.sid)")!)
        self.ws?.queue = self.handleQueue
        self.ws?.delegate = self
                
        if connect {
            self.ws?.connect()
        }
