Fixes Setup routine to play nice with systemd.
A service file is defined as Type=forking.
This means the process must fork itself at least once after
system launches it. Otherwise the bot keeps getting killed
every minute or so. We use the existing `-forked` command line
flag to detect if this is the case. If it is absent,
we let the bot do the network initialisation and then fork
itself explicitely.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>