Correct mapper host resolution for domains with ports

If you tried to use `map` to handle subdomains on an app that was mounted on a port, `mach` wouldn't find the route.  This fixes that.