Added ability to specify a CA or bundle of CAs.

Joshua,

I was having some difficulties using this and I discovered it is because the SSL certificate I was working with used an intermediate CA that does not happen to be on TheKey server.

Can you review these changes and then bring them into your repo.

Thanks!

Doug