Allow override of request cache headers

cleanedup version of #150

/cc @gonzalovilaseca