code: protected Object readResolve() {
          if (proto != null && scheme == null) {
              scheme = proto;
              proto = null;
          } else if (scheme == null && proto == null) {
              scheme = GerritConnection.GERRIT_PROTOCOL_SCHEME_NAME; //The default for old stuff
          }
          return this;
      }
docs: Deserialization handling.
  
  @return itself