Refactored the network properties, wrapping them into a class called NetworkBaseCollection.
Giving support to udp