The emitter can now use unix domain sockets as well.
The example emitter now sends shutdown as well as heartbeat.