|SocketConsumerBase| handles connection state for |UnixSocketConsumer| and its derived classes. Implementing classes must override a number of virtual methods, to handle notifications about changes to the state of the connection.