Add request argument to PanicHandler

This will allow reporting additional context to e.g. Sentry.