A module that handles operations common to all daemons. This is included into the Server and Client base classes.
Create a pidfile for our daemon, so we can be stopped and others don‘t try to start.
Put the daemon into the background.
Provide the path to our pidfile.
Remove the pid file for our daemon.
Trap a couple of the main signals. This should probably be handled in a way that anyone else can register callbacks for traps, but, eh.
Stop everything
[Validate]