TCP/IP client and server examples with and without TLS