embed uri in the SockJS & Engine.io uris