anchor.diff:  	    NewSocket = maybe_close_socket(State, Vsn, ReqHdrs, NewHdrs),
   	    {noreply,
   	     State#client_state{socket = NewSocket,
  -				request = undefined,
  -				from = undefined,
   				cookies = FinalCookies}};
   	{error, closed} ->
               % Either we only noticed that the socket was closed after we
  
positive.code: %%------------------------------------------------------------------------------
  %% @private
  %%------------------------------------------------------------------------------
  maybe_close_socket(#client_state{socket = Socket} = State, {1, Minor},
                     ReqHdrs, RespHdrs) when Minor >= 1->
      ClientConnection = case lists:keyfind(<<"connection">>, 1, ReqHdrs) of
  			   false ->
  			       false;
  
negative.code:             send_request(State#client_state{socket = undefined, attempts = Attempts - 1});
          {error, _Reason} ->
              lhttpc_sock:close(Socket, Ssl),
              {reply, {error, connection_closed}, State#client_state{socket = undefined}}
      end.
  
  %%------------------------------------------------------------------------------
  