Add RESTRICT_NETWORKING to allow disabling network restrictions