fix(test): eliminate race in shutdown tests
The previous 50ms setTimeout was unreliable — the worker may not have
booted and started consuming fds yet. Now:
- in-flight test: waits for HTTP response headers (worker is mid-flight)
- drainTimeout test: waits for TCP connect + 100ms grace for fd transit
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>