Path generation optimisations
Update socket.io URL