anchor.diff:  				ets:insert(client_ets, ClientRec),
   				?info("UDP port sync up:  ~p:~p", [Ip, InPortNo]),
   				% Record the UDP information in the state
  -				State0#state{udp_remote_info = {Ip, InPortNo}};
  +				State2 = State1#state{udp_remote_info = {Ip, InPortNo}},
  +				% See if we've completed the connection process
  +				{ok, State3} = confirm_connect_message(Message, State2),
  +				State3;
   			Else ->
   				?info("UDP not confirmed:  ~p", [Else]),
   				State
   		end,
   		inet:setopts(Socket, [{active, once}]),
  -		{noreply, State1};
  +		{noreply, State4};
   
   handle_info({udp, Socket, _Ip, _InPortNo, Packet}, #state{udp_socket = Socket} = State) ->
   	Message = aes_decrypt_envelope(Packet, State),
  
positive.code: 
  	?info("Creating entity for client ~p.", [State#state.client_info]),
  	set_inhabited_entity(Connection, pre_entity_engine_sup:create_entity(entity_ship)),
  
  	State#state{
  		client_info = State#state.client_info#client_info{
  
negative.code: 	OutBin = build_message({response, Message#envelope.id}, <<"control">>, ConnectRep),
  	SendRes = ssl:send(SSLSocket, OutBin),
  	?debug("Connect response ssl:send result:  ~p", [SendRes]),
  
  	case ChannelMgr of
  		undefined ->
  			?info("TCPSocket, UDPRemoteInfo: ~p, ~p", [TCPSocket, UDPRemoteInfo]),
  			case {TCPSocket, UDPRemoteInfo} of
  				{undefined, _} ->
  					{ok, State};
  				{_, undefined} ->
  					{ok, State};
  				_ ->
  					{ok, NewChannelMgr} = pre_client_channels:start_link(),
  					NewClientInfo = ClientInfo#client_info{
  						channel_manager = NewChannelMgr
  					},
  					NewState = State#state{
  						channel_mgr = NewChannelMgr,
  						client_info = NewClientInfo
  					},
  					?info("Started pre_client_channels at ~p", [NewChannelMgr]),
  					pre_hooks:async_trigger_hooks(client_logged_in, [NewClientInfo], all),
  					{ok, NewState}
  			end;
  		_ ->
  			?error("ChannelMgr already set for client ~p! Skipping instantiation.", [ClientInfo]),
  			{ok, State}
  	end.
  
  %% ------------------------------------------------------------------
  