Bracket host in URL when colon present

Summary: This results in hostnames like `[::]:8080` instead of `:::8080`.

Test Plan: Crossed fingers

Reviewers: eater

Reviewed By: eater

Subscribers: csilvers, alpert, dylan

Differential Revision: http://phabricator.khanacademy.org/D13247