Started on core P2PNode loops

Wrote basic functionality for listenLoops and beginnings of
nodeConnectionLoop in P2PNode.