Fix debug() for non-utf-8 requests (e.g., binary)