Remove some warnings, correct minor error message text
Refactor protection handling for better readability
improve autoconfigure
Add explanation comment about UEP usage
Add the possibility to specify protection profile