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
prompted for in the example code by a convenience function that asks for your
password. If needed this could be edited to use a static string or to use some
other authentication mechanism if required.

The code shows the following:

* setup code to deal with any exceptions
* start a NETCONF session to a server for a user – ask them for their password
* 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
