Fixed a bug shown by running sample_client.py against sample_server.py