merge v1-fix: added a way to return a certificate channel
fixed caDir error
fixed path separator for os != unix
Includes Guillermo comments and fixes for the last PR
Merge pull request #236 from mcjimenez/develop

Uplift from v1-fix: add a way to return a certificate chain