add support for curl verbose logging to stderr