OpenBazaar/OpenBazaar — pull request #32 by jonasnick (2014-05-06 14:28:16+00:00)
Title: Make node more resilient agains peers with local ips and recognize timeouts

* Refuse connections from peers with private ips.
* Give a warning in the log when connecting to a public ip with a private ip.
* If a peers socket is not reachable, remove that peer from the peers list.
* Because ws.js maintains its own peer list, the removed peer will still show up on index.html.