Add ability to set request headers during onResourceRequested