Added secure redirect middleware

Not a bad idea at all, i have tweaked my Gist to include this.