Update Client.php

Change variable's name in order to remove warning
Merge pull request #7 from Crash--/master

fix variable name when setting client endpoint.