Register pprof /debug endpoints with custom HTTP mux.