Started conversion from triggering mementoStart onHeadersReceived to onBeforeRequest