Fix option processing. Add ability to log to file and rotate it with SIGHUP. Exit cleanly on SIGINT and SIGTERM.
Fix option processing.
Add ability to log to file and rotate it with SIGHUP.
Exit cleanly on SIGINT and SIGTERM.

sit/dht,sit/dht,sit/dht,sit/dht,weidezhang/dht,weidezhang/dht,weidezhang/dht,weidezhang/dht,weidezhang/dht,sit/dht