Added hostname resolution to "Connect to Peer"