added a small example for the network client
A connection is opened