[PATCH v2 5/5] dmime: Introduce a new segment_state_create constructor.