fixed caDir error
include superreview comments
includes error control and some nit fixing
Merge pull request #234 from mcjimenez/v1-fix

Read CA from a directory and pass to create the https server