Do not add default ports to self URL when guessing it.
Do not add default ports to self URL when guessing it.

When we are invoked from an outside application, SimpleSAMLphp cannot use 'baseurlpath' and in that case it tries to guess the current URL. The port was always added, even if the default port was used, leading to possible issues when comparing URLs that should actually be equivalent.

This resolves #696.

dnmvisser/simplesamlphp,ghalse/simplesamlphp,simplesamlphp/simplesamlphp,dnmvisser/simplesamlphp,simplesamlphp/simplesamlphp,ghalse/simplesamlphp,ghalse/simplesamlphp,ghalse/simplesamlphp,dnmvisser/simplesamlphp,simplesamlphp/simplesamlphp,simplesamlphp/simplesamlphp,dnmvisser/simplesamlphp