reading socket_url from data attribute