httpclient: Get rid of unconditional debug output

Fixes #2292