Option for HTTP-serving only
Print debug info to stderr
Print request info in debug mode
Print additional debug info
Some refactoring