The default does not use any security protocols.
This setting allows developers to configure which security protocol is used to transfer the data on the stream, from nothing, to a specific version of Transport Layer Security (TLS) to its predecessor Secure Socket Layer (SSL) or the best possible.
The recommended value is NSStreamSocketSecurityLevel.NegotiatedSsl which will pick the best available protocol between the client and the server.