xs_tests: setup mocha if defined for browser-based testing
tests: refactor http.js with index.html and index-min.html, to streamline assets loading
http.js: socket io server WIP
tests: socketio.html