shazow/urllib3 — pull request #199 by t-8ch (2013-06-21 11:13:02+00:00)
Title: urlparse returns brackets of IPv6 address

Fixes https://github.com/kennethreitz/requests/issues/1426#issuecomment-19649944

Code is kept close to the original, so it still throws a ValueError, if the
closing bracket is missing.
Using slices would have changed the behaviour.