Added support for SSL

Redirects to HTTP