Have browser client calculate prefix and use it for socket.io