Moved cflags/ioflags to dnet_session