This can be used for v2ray, Xray, v2rayA and some other projects, make it generic. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>