Modular plans for secure service composition