Convert TUN/TAP to Socks5/HTTP proxy (OpenVPN as proxy)

Luckily, I had wireguard so it worked out but openvpn is more convenient.

This exact patch won’t work on Windows, but in general it is possible to adapt it for Windows. I’m planning to do that in my free time.