It seems like this is the only place `isReader` is really needed and it seems like it could be refactored such that a single event is generated here (`IDENTIFIED`) that both the normal connection class and the writer connection class can independently listen for and act on.