anchor.diff:  				ok ->
   					NextState(State, HandlerState2, RemainingData);
   				stop ->
  -					handler_terminate(State, HandlerState2, stop);
  +					terminate(State, HandlerState2, stop);
   				Error = {error, _} ->
  -					handler_terminate(State, HandlerState2, Error)
  +					terminate(State, HandlerState2, Error)
   			end;
   		{reply, Payload, HandlerState2, hibernate} ->
   			case websocket_send(Payload, State) of
  
positive.code: 			websocket_payload(State2, HandlerState,
  				Type, Len, MaskKey, Rsv, CloseCode, Unmasked, UnmaskedLen, Data);
  		{Closed, Socket} ->
  			handler_terminate(State, HandlerState, {error, closed});
  		{Error, Socket, Reason} ->
  			handler_terminate(State, HandlerState, {error, Reason});
  		{timeout, TRef, ?MODULE} ->
  			websocket_close(State, HandlerState, timeout);
  		{timeout, OlderTRef, ?MODULE} when is_reference(OlderTRef) ->
  
negative.code: 			websocket_data(State2, HandlerState,
  				<< SoFar/binary, Data/binary >>);
  		{Closed, Socket} ->
  			terminate(State, HandlerState, {error, closed});
  		{Error, Socket, Reason} ->
  			terminate(State, HandlerState, {error, Reason});
  		{timeout, TRef, ?MODULE} ->
  			websocket_close(State, HandlerState, timeout);
  		{timeout, OlderTRef, ?MODULE} when is_reference(OlderTRef) ->
  