retains port info for local siteurl
makes retention of local siteurl port (i.e. localhost:8080) conditional. It won't add a port if it's not there
Merge pull request #13 from timiyay/feature-local-port

Retain port in domain trimming.