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:     end.
  
  read_trailers(Socket, Ssl, Trailers, Hdrs) ->
      lhttpc_sock:setopts(Socket, [{packet, httph}], Ssl),
      case lhttpc_sock:recv(Socket, Ssl) of
          {ok, http_eoh} ->
              {Trailers, Hdrs};
  
negative.code:     end.
  
  read_chunk(Socket, Ssl, Size) ->
      ok = lhttpc_sock:setopts(Socket, [{packet, raw}], Ssl),
      case lhttpc_sock:recv(Socket, Size + 2, Ssl) of
          {ok, <<Chunk:Size/binary, "\r\n">>} ->
              Chunk;
  