fix major problem with save which occured during kernel update, find instance URL properly server side from socket handshake when querystring present