Nodes must re-subscribe when elected

When a node is elected as the new master, it closes
existing zmq sockets and reconnects, but does not re-subscribe
those new sockets to the same events the previous sockets were listening
to.
Merge pull request #3 from esatterwhite/issue-2

Nodes must re-subscribe when elected