zettajs/zetta — pull request #77 by AdamMagaluk (2014-10-09 20:28:11+00:00)
Title: Peer socket refactor

1. Removed peer setup logic out of http_server and all into peer_socket.
2. Cleaned up http_servers use of .router/.peers/.agents to only use .peers[]
3. Removed server's id, urls now use server's name. Note: there is still a `.id` on zetta which is set to the name for now.
3.a peer_registry uses id which is set to the peers name when in the perspective of a cloud server.
3.b peer_registry uses a v4 uuid for a id key for peers in the perspective of a local server.
4. peer_socket now has property called .name which is the server name, event_broker updated to use this.