As Connor said, please don't handle for 48 hours after feeding. They're less likely to snap after they've just eaten (apart from about 20 - 30 minutes afterwards, since they're still in feeding mode), because they feel lethargic, and to aid escape, most of the time they'll regurge as they'll be lighter and more nimble.
You're right about handling when in shed, just think of it like slapping a human with sunburn all over their body repeatedly.
If you have a young hatchling, I wouldn't handle everyday. Not just for the regurge factor (although that's a MAJOR issue), but they stress very easily at that age. 5 - 10 minutes a couple of times a week, 48 hours after feeding is enough. Cornsnakes are naturally docile, and even those that haven't been handled much throughout their life are reluctant to bite. As he gets older you can gradually increase the handling time, but still adhere to the '48 hour rule'.
All the best
David