Updated cafile code to handle certificate files with multiple certs.
Merge pull request #1 from jgibson/master

Updated cafile code to handle certificate files with multiple certs.