anchor.diff:                          {<<"version">>, Ver},
                           {<<"xml:lang">>, <<"en">>},
                           {<<"xmlns">>, <<"jabber:client">>},
  -                        {<<"xmlns:stream">>, <<"http://etherx.jabber.org/streams">>}]},
  +                        {<<"xmlns:stream">>,
  +                         <<"http://etherx.jabber.org/streams">>}]},
               [StreamStart];
           streamend ->
               [escalus_stanza:stream_end()];
  
positive.code:     {reply, Rid, State};
  handle_call(get_keepalive, _From, #state{keepalive = Keepalive} = State) ->
      {reply, Keepalive, State};
  handle_call({set_keepalive, NewKeepalive}, _From, #state{keepalive = Keepalive} = State) ->
      {reply, {ok, Keepalive, NewKeepalive}, State#state{keepalive = NewKeepalive}};
  handle_call(stop, _From, #state{} = State) ->
      StreamEnd = escalus_stanza:stream_end(),
      NewState = send0(transport(State), exml:to_iolist(StreamEnd), State),
  
negative.code: handle_cast({send_raw, Transport, Body}, State) ->
      NewState = send(Transport, Body, State),
      {noreply, NewState};
  handle_cast({pause, Transport, Seconds},
              #state{rid = Rid, sid = Sid} = State) ->
      NewState = send(Transport, pause_body(Rid, Sid, Seconds), State),
      {noreply, NewState};
  handle_cast(reset_parser, #state{parser = Parser} = State) ->
  