This is a sample Arduino Due sketch connecting to a PolarSSL server using PSK authentication.