Add pipe to protocol messages send by Lua script if missing