@Override public int getPort() { return origin.getAddress().getPort(); }
public Origin.Address getConnectAddress() { return proxy == null ? origin.getAddress() : proxy.getAddress(); }
@Override public String getHost() { // InetSocketAddress.getHostString() transforms the host string // in case of IPv6 addresses, so we return the original host string return origin.getAddress().getHost(); }