Added EOP detection to nwl_recv