code: public String sendMessage(String message) {
      Socket socket = null;
  
      try {
        socket = newSocket(getHost(), getPort());
        return receiveResponse(sendMessage(socket, message));
      }
      finally {
        close(socket);
      }
    }
docs: Sends the given {@link String message} to the {@link EchoClient}.
  
  @param message {@link String} containing the message to send.
  @return the {@link String response} returned by the {@link EchoServer}.
  @see #newSocket(String, int)
  @see #sendMessage(Socket, String)
  @see #receiveResponse(Socket)