code: public static Protocol adaptiveProtocol(byte[] magicHeadBytes) {
          for (Protocol protocol : TYPE_PROTOCOL_MAP.values()) {
              if (protocol.protocolInfo().isMatchMagic(magicHeadBytes)) {
                  return protocol;
              }
          }
          return null;
      }
docs: 根据头部前几个魔术位，判断是哪种协议的长连接
  
  @param magicHeadBytes 头部魔术位
  @return 协议