Fix HOSTFILTER to account for port numbers