rewrite socks5 support, it works now!