Fix ports when connecting to 80/443 from non-80/443 host
Fix protocol regex, use falsy port, use href as unique ID
Use explicit port on url ID, not on url href
Merge pull request #655 from holic/fix-url-port

Fix incorrect ports in connection URL