A preferential attachment model with random initial degrees