https://github.com/XTLS/Xray-core/pull/6221#issuecomment-4588919827 Completes https://github.com/XTLS/Xray-core/pull/6090#issuecomment-4572094191