anchor.diff:  	#state{udp_socket = Socket, udp_remote_info = undefined} = State) ->
   		% Decrypt message envelope
   		Message = aes_decrypt_envelope(Packet, State),
  -		Success = handle_connect_message(Message, State),
  -		State1 = case Success of
  -			{ok, State0} ->
  +		Success = handle_udp_connect_message(Message, State),
  +		State4 = case Success of
  +			{ok, State1} ->
   				% Record this client's information in ETS
   				ClientRec = #client_connection{
   					pid = self(),
  
positive.code: 
  %% ------------------------------------------------------------------
  
  handle_connect_message(Message, State) ->
  	#state{cookie = Cookie} = State,
  	try begin
  		#envelope{type = request, channel = <<"control">>, contents = {struct, Request}} = Message,
  		case proplists:get_value(<<"type">>, Request) of
  			<<"connect">> ->
  				case proplists:get_value(<<"cookie">>, Request) of
  					Cookie -> ok;
  					_ -> badcookie
  				end;
  			_ -> badrequest
  		end end,
  		confirm_connect_message(Message, State)
  	catch
  		What:Why ->
  			{What,Why}
  	end.
  
  confirm_connect_message(#envelope{type = request, channel = <<"control">>} = Message, State) ->
  	#state{ssl_socket = SSLSocket, tcp_socket = TCPSocket, udp_socket = UDPSocket, client_info = ClientInfo} = State,
  	% Send response over SSL transport
  	ConnectRep = {struct, [
  		{confirm, true}
  
negative.code: 				ets:insert(client_ets, ClientRec),
  				?info("UDP port sync up:  ~p:~p", [Ip, InPortNo]),
  				% Record the UDP information in the state
  				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, State4};
  
  handle_info({udp, Socket, _Ip, _InPortNo, Packet}, #state{udp_socket = Socket} = State) ->
  	Message = aes_decrypt_envelope(Packet, State),
  