Lua on_message_received