Change owner of pidfile when using priviledge drop.

So the child process can unlink the file when done.
Use template function to sort out const problem.
Show version number
Support MTU field.