NOTE: running the yp-client code requires that the netconfd-pro server is built
with pthreads=1 or that you are running one of the pthreads binary servers.

The sget-system.cpp example code demonstrates the minimal setup to communicate
with a NETCONF server, send a request - "sget /netconf-state/statistics", and
display the results.

Before running the code you should edit sget-system.cpp to apply the cServer
and cUsername values that are appropriate for your system. cPassword is not
used as TLS and certificates are used for authentication. Be sure the server
is configured to use TLS (see the “Configure TLS” section of the YumaPro SDK
Installation Guide for netconfd-pro).

The code shows the following:

* setup code to deal with any exceptions
* start a NETCONF session to a server for a user – use certificates for
  authentication
* some YangAPI object settings are made to make things more readable
* send the request "sget /netconf-state/statistics" to the server to request a
  node of the server’s YANG datastore
* receive the response from the server into a buffer that can be processed
* close the session to the server
