Use goagain for signal handling and fork/spawn.

- Add shutdown hooks for per app handling.
- Wait group for server handler to ensure all requests are completed.
- Still missing TLS refactoring.
- Only use for the server, not the harness.