Simple logging
use of logging function instead of direct print to stderr
Add signal reaction
Drop root privilegies
Fix command line options handling
Add options in help
change setuid to seteuid (for killability from sender)