Improve function signature for httpServer boot phase.