public static Socks5ProxyConfig socks5(
            InetSocketAddress proxyAddress, String username, String password) {
        requireNonNull(proxyAddress, "proxyAddress");
        return new Socks5ProxyConfig(proxyAddress, requireNonNull(username, "username"),
                                     requireNonNull(password, "password"));
    }
Creates a {@code ProxyConfig} configuration for SOCKS5 protocol.

@param proxyAddress the proxy address
@param username the username
@param password the password
core/src/main/java/com/linecorp/armeria/client/proxy/ProxyConfig.java