added simple program to interface with a client by a socket