code: public Socket newSocket(String host, int port) {
      try {
        Socket socket = newSocket();
        socket.setReuseAddress(DEFAULT_REUSE_ADDRESS);
        socket.setSoTimeout(intValue(DEFAULT_SO_TIMEOUT));
        socket.connect(newSocketAddress(host, port));
        return socket;
      }
      catch (IOException cause) {
        throw newRuntimeException(cause, "Failed to create a client Socket on host [%s] and port [%d]", host, port);
      }
    }
docs: Constructs and configures a new client {@link Socket}.
  
  Sets {@link Socket#setReuseAddress(boolean)} to {@literal true} and sets the {@link Socket#setSoTimeout(int)}
  to {@literal 15 seconds}.
  
  @param host {@link String} specifying the host on which the server is running.
  @param port {@link Integer} specifying the port on which the server is listening.
  @return a new client {@link Socket} connected to host and port.
  @throws RuntimeException if the {@link Socket} could not be created.
  @see java.net.Socket