Decode incoming messages