add examples of basic client server programming with sockets and rmi