better handling of trailing slashes in urls for socket.io
better handling of trailing slashes in urls for socket.io

jsio-private/tty.js,jsio-private/tty.js,ContinuumIO/tty.js,jsio-private/tty.js,weebygames/tty.js,ContinuumIO/tty.js,weebygames/tty.js,weebygames/tty.js,ContinuumIO/tty.js,weebygames/tty.js,jsio-private/tty.js