Added support for https on Ruby 1.9.3