[NETWORK] urgent error fix to be able to build

This PR just fixes FATAL BUILD ERRORS and not style recommendations which will be done in a next PR