* use strlcpy() instead strncpy()
* opts struct * apply parameters from config * daemonize * setuid/setgid