Fixes to Utter's buggy code.  Added another config variable to account for the port being present in URLs.