Always percent-encode location headers.
Merge pull request #1361 from Lukasa/1360

Always percent-encode location headers.