public static HAProxyConfig haproxy(
            InetSocketAddress proxyAddress, InetSocketAddress sourceAddress) {
        requireNonNull(proxyAddress, "proxyAddress");
        requireNonNull(sourceAddress, "sourceAddress");
        checkArgument(!sourceAddress.isUnresolved(), "sourceAddress must be resolved");
        return new HAProxyConfig(proxyAddress, sourceAddress);
    }
Creates a {@link ProxyConfig} configuration for HAProxy protocol.

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