Update connection.rb

If the cert_file configuration option exists, set the http verify mode and ca_file variables to reflect local ssl certificate path.