At the time of parsing a URL, encode square brackets if they exist

- Fix Bouncer 500ing if a URL contains square brackets, eg some ea-publications URLs.