various minor changes; implementation of getPeers in preparation for TCP communication and concurrency in PeerToPeer.hs