anchor.diff:  %% @end
   %%--------------------------------------------------------------------
   -spec route_message(Msg :: #client_message{} | #server_message{},
  -    Sock :: ssl:socket() | undefined, Transport :: module() | undefined) ->
  +    Sock :: ssl:socket() | undefined, Transport :: module() | undefined,
  +    IsProviderSession :: boolean()) ->
       ok | {ok, #server_message{}} | {error, term()}.
  -route_message(Msg = #client_message{message_id = undefined}, _Sock, _Transport) ->
  +route_message(Msg = #client_message{message_id = undefined}, _Sock, _Transport,
  +    _IsProviderSession) ->
       route_and_ignore_answer(Msg);
   route_message(Msg = #client_message{message_id = #message_id{
       issuer = Issuer,
       recipient = Recipient
  -}}, Sock, Transport) ->
  +}}, Sock, Transport, IsProviderSession) ->
       case oneprovider:is_self(Issuer) of
           true when Recipient =:= undefined ->
               route_and_ignore_answer(Msg);
  
positive.code:         Configuration = storage_req:get_configuration(effective_session_id(Msg)),
          {ok, #server_message{message_id = Id, message_body = Configuration}}
      end, get_heartbeat_fun(Id, Sock, Transport), Id);
  route_and_send_answer(Msg = #client_message{
      message_body = FuseRequest = #fuse_request{
          fuse_request = #file_request{
              file_request = #storage_file_created{}
          }}
  }, _Sock, _Transport) ->
      ok = worker_proxy:cast(fslogic_worker,
          {fuse_request, effective_session_id(Msg), FuseRequest}),
      ok;
  route_and_send_answer(Msg = #client_message{
      message_id = Id,
      message_body = FuseRequest = #fuse_request{
  
negative.code:     SessId, _Sock, _Transport) ->
      sequencer:route_message(Msg, SessId);
  preroute_message(#client_message{message_stream = undefined} = Msg,
      SessId, Sock, Transport) ->
      IsProviderSession = session_manager:is_provider_session_id(SessId),
      router:route_message(Msg, Sock, Transport, IsProviderSession);
  preroute_message(#client_message{message_body = #subscription{}} = Msg,
      SessId, _Sock, _Transport) ->
      case session_manager:is_provider_session_id(SessId) of
  