The implementation slightly deviates from the HTCP standard to be compatible with Squid and the Wikimedia Varnish setup. Purges are distributed via UDP multicast.
clarakosi/htcp-purge
Node module to purge caches over the HTCP protocol, as implemented by Squid
JavaScript