refactored peerSetup to attach socket and peer to nodetron, rather than return them