If somebody can give me a good algorithm ;-)
The main issue is that you cannot unfold first and do further processing such
as QP decoding afterwards. You need to detect that a property is QP encoded
*before* reaching the first line end. If it is QP, you must proceed with QP
decoding/unfolding, if not, you can do the vCard 2.1 unfolding (which is NOT
really rfc822 unfolding! It always leaves one WSP where the line was folded,
meaning that vCard2.1 folding is not possible with data that has no WSP in
it...)