Implement part of SimpleSDNController

As of this commit, switch-controller communication is done, while
the controller-controller communication is not. More specifically,
we still need to implement a simple leader election protocol.