This contains example tcp client and server Nim code for speaking to an ssl server which has a self signed certificate.
The server creates a keypair on first start.
The "publicKey.pem" that the server creates must be transmitted securely to the client.