refactoring, updated ciphersuite logging