Please reference to "https://www.openssh.com/txt/socks4.protocol".