Towards a modular architecture for future Internet control plane protocols