anchor.diff:    SystemCall = gateway_reference:get_object_id(Destination) == <<"system">>,
     send0(Data, SystemCall, State);
   
  -handle_command(#connect{session = Session, api_key = ApiKey}, State = #state{outbound_connection = OutboundConnection}) ->
  +handle_command(#connect{session = Session, api_key = ApiKey},
  +               State = #state{outbound_connection = OutboundConnection}) ->
     [Id, Secret] = verify_secret(Session),
     IsValidKey = ctl_handler:lookup_priv(ApiKey),
     initialize_state(IsValidKey, Id, Secret,  State).
  
positive.code:       gen_server:cast(self(), {error, 303, "Unknown API management internal error"})
    end,
    {noreply, State};
  handle_cast({force_send, Data}, State = #state{outbound_connection = OutboundConnection = #gateway_connection{callback_module = Mod}}) ->
    Mod:send(OutboundConnection, Data),
    {noreply, State};
  
  handle_cast({error, ErrorId, Message}, State = #state{sessionid = SessionId}) ->  
    ErrorMessage = io_lib:format("Error #~p [~p] : ~p", [ErrorId, SessionId, Message]),
    gateway_util:error(string:concat(ErrorMessage, "~n")),
  
  
negative.code:   gateway_error:invalid_channel_name(Name),
    State;
  
  handle_command(#get_channel{name = Name, callback = Callback},
                 State = #state{sessionid = SessionId,
                                rabbit_handler = RabbitHandler}) ->
    gen_server:cast(RabbitHandler, {get_channel, Name, SessionId}),
    handle_command(#get_ops{name = <<"channel:", Name/binary>>, callback = Callback}, State);
  
  