single type containing all details needed connect to the network
refactor connection loop
rework peer to peer connections to allow the number of connections to be limited