Implement master channel listeners

In this, we select  a fixed number of clients to listen and write logs to db. Usually, 4 master clients for a channel should suffice, if available. The implementation will evolve over time to select the best clients from the pool of available clients. This reduces the complexity for checking for duplicate messages (messages already written to DB). Also, it allows sufficient tolerance if a client gets disconnected in between.