https://simplestcodings.blogspot.com/2010/08/secure-server-client-using-openssl-in-c.html
https://stackoverflow.com/questions/11705815/client-and-server-communication-using-c-c-ssl-protocol-doesnt-work