user relative url for socket