docs: public static boolean isReservedSegmentId(int id)
      {
          boolean isReserved = false;
          switch (id)
          {
              case SEGMENT_HEARTBEAT:
              case SEGMENT_HEARTBEAT_RESPONSE:
              case SEGMENT_SEGMENTED_FLOW_START:
              case SEGMENT_SEGMENTED_FLOW_MIDDLE:
              case SEGMENT_SEGMENTED_FLOW_END:
              case SEGMENT_LOGICAL_CLOSE:
              case SEGMENT_PING:
              case SEGMENT_PING_RESPONSE:
              case SEGMENT_PHYSICAL_CLOSE:
                  isReserved = true;
          }
          return isReserved;
      }