Added new method for getting network interfaces. Will return 127.0.0.1
only if no other interface is found.
Add method sendToPeers() that will send a message to all the peers we
should auto-connect to.