Allow override of request cache headers

cleanedup version of #150