Sockd makes it easy to create a single-threaded daemon which can listen on a TCP or Unix socket and respond to commands