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).
Added a section to the docs.