Added P2PNode unit tests, filled out P2PNode

Added RequestNode and ConnectNode test cases for P2PNode, and created
function stubs in P2PNode.