PLAT-757: HttpClient: removed the need for curl debug hooks, by enabling test service to return headers

    This reverts commit cdc53a79364f7c651b6c96a841eccd0bafad8467.