There is no way to guarantee good IVs, but the chance they become good after trade gets better with more friend levels. We don't know how much the odds improve yet.
The IV change is mostly because they don't want a black market for people selling high IV pokemon, they explicitly said so in an interview.