improved cURL logging capabilities