                 
                 if let lengthInt = length.toInt() {
                     if lengthInt != msg.length {
-                        println("parsing error")
+                        NSLog("parsing error: \(str)")
                         return
                     }
                 }

            if self!.fastUpgrade {
                self?.doFastUpgrade()
                return
            } else if !self!.closed {
                self?.doPoll()
            }
            }.resume()

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