anchor.diff:   	exit:{timeout, _} ->
    	    {error, timeout};
   	exit:{normal, _} ->
  +	    {error, closed};
  +	exit:{shutdown, _} -> 
   	    {error, closed}
       end.
   
  
positive.code:     {no_record, State};
  next_record(#state{tls_cipher_texts = [CT | Rest], 
  		   connection_states = ConnStates0} = State) ->
      {Plain, ConnStates} = ssl_record:decode_cipher_text(CT, ConnStates0),
      {Plain, State#state{tls_cipher_texts = Rest, connection_states = ConnStates}}.
  
  next_record_if_active(State = 
  		      #state{socket_options = 
  
negative.code: send_user(Pid, Msg) ->
      Pid ! Msg.
  
  next_state(_, #alert{} = Alert, #state{negotiated_version = Version} = State) ->
      handle_own_alert(Alert, Version, decipher_error, State),
      {stop, normal, State};
  next_state(Next, no_record, State) ->
      {next_state, Next, State};
  
  