[#57] Add console.log support
Fix failing test with deeper mock of http.createServer
moved consoler code into more generic socket-server module
wrapped client-side js so we don't pollute the DOM
Fixed white space