FIX: Proper management of subject/DN credentials
FIX: Take into acount nginx protocol when coming from there