Read refname from server response