Dynamic Multicast for Content-Based Publish-Subscribe Networks -- Generic Middleware