Creating unit tests for peerNetCore
Working through socket handshake code by building test cases.