Fix parsing of URI resource records