How to avoid 3 common networking errors