Added ability to force SSL