Allow override of request cache headers

cleanedup version of #150

/cc @gonzalovilaseca 
@gonzalovilaseca added this test to actually check if the feature works when overwrite is set to true.