Added a socket manager to broadcast events and a sync cmd watcher greenlet.