                 if msg.length != 0 {
                     // Be sure to capture the value of the msg
                     dispatch_async(self.handleQueue) {[weak self, msg] in
-                        self?.parseEngineMessage(msg)
+                        self?.parseEngineMessage(msg, fromPolling: true)
                         return
                     }
                 }

    }
    
    public func websocketDidReceiveMessage(socket:WebSocket, text:String) {
        self.parseEngineMessage(text)
    }
    
    public func websocketDidReceiveData(socket:WebSocket, data:NSData) {

        }
    }
    
    private func parseEngineMessage(var message:String, fromPolling:Bool) {
        // NSLog("Engine got message: \(message)")
        if fromPolling {
            fixDoubleUTF8(&message)
        }
        
