reworking node.go to use new p2p pkg interface. fixed p2p tests