fix $intf; client.sh requires it
lint code
Use vpn_udp_alloc() to bind port for win32

Fix EMSGSIZE issue on Windows