Fixed race condition in access to connection and socket table
Fixed bug in chilog_hex

Using signed characters made the logging function
crash for byte values >= 128
Improved synchronization in tester

Also added ability to run functions between connecting and closing
Added convenience functions to send/receive
Updated echo samples to use convenience functions
Updated test fixtures to run tester functions
Updated simple tester sample
Added missing checks
Added data transfer tests
Increased maximum size of daemon commands.

This is a kluge. The daemon API should truncate buffers
bigger than this.
Better closing detection