code: private void parseH2Authority(byte[] data) {
          if (data.length == 0) {
              throw new IllegalArgumentException("Invalid authority: " + GenericUtils.getEnglishString(data));
          }
          int i = 0;
          int host_start = i;
          for (; i < data.length; i++) {
              // find either a "@" or "/"
              if ('@' == data[i]) {
                  // Note: we're just cutting off the userinfo section for now
                  host_start = i + 1;
              }
          }
          parseURLHost(data, host_start, data.length);
      }
docs: Parse the authority information from the authority pseudo-header.
  authority is [userinfo@] host [:port]
  
  @param data