anchor.diff:  	% If you return a timeout value of 0 then the `gen_server' will call `handle_info(timeout, _, _)' right away.
   	% We do this to work around issues with `gen_server' and ranch's protocols. See the ranch docs:
   	%   http://ninenines.eu/docs/en/ranch/HEAD/guide/protocols/#using_gen_server
  -	{ok, {state, Ref, Socket, Transport}, 0}.
  +	{ok, #state{ref = Ref, socket = Socket, transport = Transport}, 0}.
   
   %% --------------------------------------------------------------------------------------------------------------------
   
  
positive.code: 
  %% @hidden Handles incoming TCP data
  handle_info({tcp, _Socket, Data}, State) ->
  	{Messages, Cont} = netstring:decode(Data, State#state.netstring_cont),
  	State1 = State#state{netstring_cont = Cont},
  
  
negative.code: 	ok = ranch:accept_ack(Ref),
  	ok = Transport:setopts(Socket, [{active, once}]),
  
  	State1 = case Transport of
  		ranch_ssl ->
  			% Spawn a new client pid
  			pre_client_sup:start_child(self()),
  			State;
  		ranch_tcp ->
  			State
  	end,
  
  