feat: clean up p2p
& implement missing peering functionality
#2852
+8,031
−5,791
p2p
& implement missing peering functionality
#2852