Define SECURE_CONNECTION to 0 if not available