This more (in spirit) mimics the handler usage in net/http/pprof. It also makes sure that any new profiles that are added are automatically supported (e.g. `mutex` profiles in go1.8). Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: a1b06933aff80763ec62a288d5178a4321be1baa Component: engine