Include net.h/network.h depending if older/newer than version 2.2