Escape non-ASCII strings in response headers before logging them.
Escape non-ASCII strings in response headers before logging them.

This prevents a DCHECK from being triggered, in some cases.

Review URL: https://codereview.chromium.org/1896603002

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#387760}

axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk