improved protocol base class and coordination with connectionManager