Provide some wrapper socket creation routines to simplify that a bit.

Add a concept of a socket set which allows a group of sockets to be written to simultaneously.  Each socket in a set gets to have a filter function that can censor or edit messages just prior to sending.

Hook received on port 2222 to write to the set 'bi' and receives via port 2223 to write to the set 'uni'.
Also include a set 'debug' which nothing writes to currently.
fix merge conflicts
Removed race condition that could prevent application from being terminated correctly
Use getpeername not getpeerinfo which seems unsupported.
Merge branch 'master' of chef.rinstrumau.local:rnd/L001-503
Remove some unused close that was a residue of the socket setup amalgamation.
Updated documentation on setKeyGroupCallback
Missed a convert from a global to a function argument in a debug message
Merge branch 'master' of chef.rinstrumau.local:rnd/L001-503