add socket server tests and update a few small things.
add index.js to export client and server classes/
working code with examples.
need to fix uni tests.