Adding updated network functions as well as CMakeLists file to help compile osg