trying an example setup from http://wingdspur.com/2012/12/forcin-ssl-connections-in-rails-apps/