Use options.ca only if config.casDir is set
add test for https endpoint without casdir cert
Merge pull request #225 from telefonicaid/default_ca

Use options.ca only if config.casDir is set.