Send relative URLs to define the sockJS target when multiplexing.

Closes #237

Also prevents IE8 issues with console.log
This is not ideal, as it will prevent console.log from working if the user opens the JS console after the page already loaded.