adding network helper defines as well as some handle/req allocation helpers