Added preferred+valid lifetime handling.