Why don't you just do it the plain vanilla asp.net way? Register a IHttpModule and attach an eventhandler for PostMapRequestHandler. In here you can check if the current request maps to a C1 page, and if it does you can do your thing. The MasterPages module from C1Contrib is a good example of this approach.
https://bitbucket.org/burningice/compositec1contrib/src/1512d92e7dbb7ea64613f4b9f4690cb57ea7e202/Rendering.MasterPages/Web/MasterPageModule.cs?at=default
https://bitbucket.org/burningice/compositec1contrib/src/1512d92e7dbb7ea64613f4b9f4690cb57ea7e202/Rendering.MasterPages/Web/MasterPageModule.cs?at=default