Allow override of request cache headers

cleanedup version of #150

/cc @gonzalovilaseca 
@ddeboer i am not really happy that this configuration is at the same place as the headers configuration. but i don't see where else we can put it without changing a lot in the data structure.