anchor.diff:  %%% New style connection initiation
   %%%===================================================================
   
  --spec start_stream/3 :: ?CONNECTION_STEP.
  +-spec ?CONNECTION_STEP_SIG(start_stream).
   start_stream(Conn, Props, [] = _Features) ->
       {Props1, []} = start_stream(Conn, Props),
       {Conn, Props1, []}.
   
  --spec stream_features/3 :: ?CONNECTION_STEP.
  +-spec ?CONNECTION_STEP_SIG(stream_features).
   stream_features(Conn, Props, [] = _Features) ->
       StreamFeatures = escalus_connection:get_stanza(Conn, wait_for_features),
       Transport = proplists:get_value(transport, Props, tcp),
  
positive.code:             {Conn, Props, Features}
      end.
  
  -spec stream_management/3 :: ?CONNECTION_STEP.
  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.
  maybe_stream_resumption(Conn, Props, Features) ->
      case can_use_stream_management(Props, Features) of
          true ->
  
negative.code:     assert_stream_features(StreamFeatures, Transport, IsLegacy),
      {Conn, Props, get_stream_features(StreamFeatures)}.
  
  -spec ?CONNECTION_STEP_SIG(maybe_use_ssl).
  maybe_use_ssl(Conn, Props, Features) ->
      case use_ssl(Props, Features) of
          true ->
  