         func testLength(length:String, inout n:Int) -> Bool {
             if let num = length.toInt() {
                 n = num
-                if num != n {
-                    return true
-                }
+            } else {
+                return true
             }
             
             return false

        
        if type != PacketType.MESSAGE.rawValue {
            // TODO Handle other packets
            println(message)
            return
        }
        

                return
            }
            
            // println(data)
            
            if let str = NSString(data: data, encoding: NSUTF8StringEncoding) {
                // println(str)
                
                self?.parsePollingMessage(str)
            }
            
            self?.wait = false
            self?.doPoll()
        }
    }
    
