Force ssl when connecting to non-localhost