some clean up and tests of urlHelper
add more urlHelper tests and the ability to over port and protocol