Use sockets to compensate for your gear's shortcomings.
If you're under 540 defense, gem for defense. If your defense is fine, you can put in some hit, expertise, or avoidance gems, whatever you don't have a lot of with your gear. More stam is almost always a good decision. If you're more or less happy with your current mix, gem so that you get socket bonuses.