Apply headset connection logic.