fix socket connection url