Fixing PURGE calls: Host names on a non-standard port would cause Varnish to not be able to find the cached object (common scenario in a development environment). Also, '?' would always be appended to the URL even if there was no query string, causing a PURGE miss.