INTERIM
FIX: verify when no CA provided
CLEAN: use cchar for some fields
FIX: SSL verify mode when no CA defined
REFACTOR: Prepare for testme
REFACTOR: convert to use testme for unit tests