Get it working with HTTPS, Ruby 1.9.3