anchor.diff:  		my_contact,		%% string(), the Contact: header value we use
   
   		notify_pids = [],	%% list() of pid(), active NOTIFY client transactions
  -		subscription_state,	%% active | pending | terminated
  +		subscription_state,	%% active | pending | deactivated | terminated
   		last_notify_content,	%% undefined | {Body, ExtraHeaders} - parameters of the last NOTIFY we sent
   		subscr_num,		%% integer(), number of SUBSCRIBEs we have accepted
   		notification_rate,	%% integer(), milliseconds required between NOTIFYs for the current event package
  
positive.code: 	false ->
  	    process_timer_signal(send_notify, undefined, State)
      end;
  
  handle_cast(Msg, State) ->
      logger:log(error, "Subscription: Received unknown gen_server cast : ~p", [Msg]),
  
negative.code:     Now = util:timestamp(),
  
      {NewSubState, SubscriptionState} =
  	case State#state.subscription_state of
  	    deactivated ->
  		{terminated, "terminated;reason=deactivated"};
  	    _ ->
  		case (State#state.expires =< Now) of
  		    true ->
  			%% "A subscription is destroyed when a notifier sends a NOTIFY request
  			%%  with a "Subscription-State" of "terminated"." RFC3265 #3.3.4
  			{terminated, "terminated;reason=timeout"};
  		    false ->
  			SubStr = lists:concat([State#state.subscription_state, ";expires=", State#state.expires - Now]),
  			{State#state.subscription_state, lists:flatten(SubStr)}
  		end
  	end,
  
      ExtraHeaders1 =
  