Added script source lookup, so mimosa reload/socket.io works cross domain. The added script finds the script tag including /socket.io.js and takes the proctol, hostname and address. It falls back to undefined, which socket.io treats as document host.