Added a ConnectionFactory that will build the TransportStack. Added mock objects for all layer types.
Updated Mocks for null checking. Added NetConfig code and test.