Bug 839106 - Add preferences to control the stun behavior