Autostop server when using socket activation

Automatically stop the server when it becomes vacant if socket activation is used.
The init daemon will restart the server when needed.