Simple client server communication simulator with error detection.