Use Require Ssl solutions from AppHarbor (https://gist.github.com/runesoerensen/915869)