Got network connection working on a background thread. Updated peerconnect.swift to connect to localhost.