AbstractNodeService(net: MessagingService, networkMapCache: NetworkMapCache)
Abstract superclass for services that a node can host, which provides helper functions.