C and HDL changes for the new API.
Add some more includes.
Fix comparison.
Socket edge updates.
Fix shutdown for CPU-only applications.
Report reads instead of pushes.
Fix shutdown across socket edges.