Applied patch that adds a hook in the function WPVarnishPurgeObject.