Rewrite host/port/username/password parsing.
Rewrite host/port/username/password parsing.

Fixes issues with URLs with ports.

Wevah/Punycode-Cocoa,Wevah/Punycode-Cocoa,Wevah/Punycode-Cocoa,Wevah/Punycode-Cocoa