Add optional headers to purge call

Fix #117.

I think this makes sense, but @dbu, please validate whether this answers to a proper use case (#117).
does the link really work like this? don't you need the filename in `<>`?