code: public String getRemoteAddr()
      {
          String addr = "127.0.0.1";
          HttpConnection connection = getHttpConnection();
          if (connection != null)
          {
              addr = connection.getRemoteAddr();
              if (addr == null) addr = connection.getRemoteHost();
          }
          return addr;
      }
docs: /* ------------------------------------------------------------