Without a cheat or hack there is no way to keep Shed skin when you evolve Dragonair into Dragonite.
Dratini and Dragonair both have the hidden ability Marvel Scale. This ups defense when they have a status problem.
Dragonite has the hidden ability Multiscale. This reduces damage when hp is full.
So no matter what you do, without cheating their abilities will change