simple socket program,reads arbitrary input from one socket and writes it to another socket.