Add support for CN_match and allow_self_signed
Add support for verify_depth