https://github.com/XTLS/Xray-core/pull/5657#issuecomment-4016609446
And https://github.com/XTLS/Xray-core/pull/5560#issuecomment-3825430761