Added support for inline ca certs

This one's a little bit more debatable - we needed the ability to add an inline ca_cert so we could deploy to Heroku with a custom certificate authority and still keep stuff out of source control. Would love to hear your thoughts.