anchor.diff:      end.
   
   read_chunk_size(Socket, Ssl) ->
  -    lhttpc_sock:setopts(Socket, [{packet, line}], Ssl),
  +    ok = lhttpc_sock:setopts(Socket, [{packet, line}], Ssl),
       case lhttpc_sock:recv(Socket, Ssl) of
           {ok, ChunkSizeExt} ->
               chunk_size(ChunkSizeExt);
  
positive.code:             % status responses MAY be ignored by a user agent.
              read_response(State, nil, {nil, nil}, []);
          {ok, http_eoh} ->
              lhttpc_sock:setopts(Socket, [{packet, raw}], Ssl),
              Response = handle_response_body(State, Vsn, Status, Hdrs),
              NewHdrs = element(2, Response),
              ReqHdrs = State#client_state.request_headers,
  
negative.code:     end.
  
  read_trailers(Socket, Ssl, Trailers, Hdrs) ->
      ok = lhttpc_sock:setopts(Socket, [{packet, httph}], Ssl),
      case lhttpc_sock:recv(Socket, Ssl) of
          {ok, http_eoh} ->
              {Trailers, Hdrs};
  