After the fix for bug 11085, most favicons are looked for at port 0. Steps to reproduce: open www.google.com, open Activity window, check the entry for favicon.ico.
We should special-case port number of 0 as no port, since a URL will never validly have a portn number of 0.
Created attachment 12757 [details] Patch
Comment on attachment 12757 [details] Patch indentation appears to be borken, but otherwise r=me
r19235