Adds a should_run method to the SocketDaemon and Server classes.
Tracks client connections in the server object so they can be terminated when the server is destroyed.