make listener part of the cacheserver struct