nit: will place two spaces between strings. if it works like console, do either `debug('AGENT isHeadResponse %s', isHeadResponse)` or just drop the last space.