Added SecureConnection for SSL support