modified client.php
fixed client.php, completed README