Added some basic jsdoc generated html
Refactored socket interface
Added some new test cases
Discovered stupid mistake in tests, now they are broken ;_;
Added login test and changed logout test, tests somewhat work now
Changed other test files also