add ability to store both REST and WS API endpoints in the ZooKeeper registry