docs: public String getAppServerName()
      {
          String strServer = this.getProperty(Params.REMOTE_HOST);
          if ((strServer == null) || (strServer.length() == 0))
          {
              URL urlCodeBase = this.getCodeBase();
              if (urlCodeBase != null)
              {
                  strServer = urlCodeBase.getHost();
                  int port = urlCodeBase.getPort();
                  if ((port != -1) && (port != 80))
                      if (!strServer.contains(":"))
                          strServer = strServer + ':' + port;
              }
          }
          return strServer;
      }