Update master
Added HTTP to HTTPS rewrite rule (DCA variable redirectToHTTPS)
Fixed dynamic rewrite code to work with HTTPS
Merge pull request #3 from backbone87/master

Fix for #1 and rewrite code for #2