heart: add Heart & Monitor structs
server: use heart.Monitor to monitor etcd connectivity