Encode X-Location header before returning response if the URL is non-ASCII.

Reviewers: tail, jeff, branden

Reviewed By: jeff

Maniphest Tasks: T6259

Differential Revision: http://phabricator.local.disqus.net/D7834