conncache: move the connection counter to the cache struct