7db39cbeec
Use proper type-safe interfaces instead of Node.js http types for the health handler, and avoid vi.spyOn type issues in shutdown tests by directly intercepting process.on.