E1.33 hacks

Add the basic_controller and basic_device programs that demonstrate scaling to 10k E1.33 devices connected to a single controller.

This also fixes a number of bugs in the underlying network & event code that only show up at scale. I also changed the TCP accept code to accept as many connections as possible in a single loop cycle.