Enables strict warnings in the net lib and fixes all related compile errors. Fixes #4924
with_sub_node
-std=gnu++20