port check

if the port number is left out of the original string, port 80 is
assumed even when it isn't defined. This is a bug in System.Uri in .Net
Framework v4+