Evaluating Security Mechanisms in Different Protocol Layers for Bluetooth Connections