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).