Redirect to SSL if user has SSL turned on

Will close #1704 

- [x] Ready to merge