Added a way to return a certificate chain
Included review comments
Included review comments - and fixed errors
And now some self-nit fixing
Merge pull request #231 from mcjimenez/v1-fix

Added a way to return a certificate chain