anchor.diff:              {Conn, Props, Features}
       end.
   
  --spec stream_management/3 :: ?CONNECTION_STEP.
  +-spec ?CONNECTION_STEP_SIG(stream_management).
   stream_management(Conn, Props, Features) ->
       escalus_connection:send(Conn, escalus_stanza:enable_sm()),
       Enabled = escalus_connection:get_stanza(Conn, stream_management),
       true = escalus_pred:is_sm_enabled(Enabled),
       {Conn, Props, Features}.
   
  --spec maybe_stream_resumption/3 :: ?CONNECTION_STEP.
  +-spec ?CONNECTION_STEP_SIG(maybe_stream_resumption).
   maybe_stream_resumption(Conn, Props, Features) ->
       case can_use_stream_management(Props, Features) of
           true ->
  
positive.code:             {Conn, Props, Features}
      end.
  
  -spec stream_resumption/3 :: ?CONNECTION_STEP.
  stream_resumption(Conn, Props, Features) ->
      escalus_connection:send(Conn, escalus_stanza:enable_sm([resume])),
      Enabled = escalus_connection:get_stanza(Conn, stream_resumption),
  
negative.code:             {Conn, Props, Features}
      end.
  
  -spec ?CONNECTION_STEP_SIG(maybe_stream_management).
  maybe_stream_management(Conn, Props, Features) ->
      case can_use_stream_management(Props, Features) of
          true ->
  