docs: public RemoteTask createRemoteTask(Map<String, Object> properties) throws RemoteException
      {
          try {
              return new TaskProxy(this, properties);
          } catch (RemoteException e) {
              if ((m_strBaseServletPath != null) && (m_strBaseServletPath.length() > 0))
              {
                  try {
                      URL url = new URL(m_strBaseServletPath);
                      String path = url.getPath();
                      if (path.length() > 0)
                          if (m_strBaseServletPath.endsWith(path))
                      {
                          m_strBaseServletPath = m_strBaseServletPath.substring(0, m_strBaseServletPath.length() - path.length());
                          return new TaskProxy(this, properties);
                      }
                  } catch (MalformedURLException e1) {
                      // Throw original error if bad URL
                  }
              }
              throw e;
          }
      }