code: protected final InetSocketAddress remoteAddress() {
          if (remoteAddress == null) {
              if (server) {
                  remoteAddress = new InetSocketAddress(NetUtil.LOCALHOST, randomClientPort());
              } else {
                  remoteAddress = new InetSocketAddress(NetUtil.LOCALHOST,
                                                        guessServerPort(sessionProtocol, authority));
              }
          }
          return remoteAddress;
      }
docs: Returns the remote socket address of the connection.