bugs fixed and tests added.
Merge branch 'master' of https://github.com/calce/sockbox