Update client.py

Check for `None` instead of relying on the truth value of whatever the user happens to pass in for `unix_socket_path`. I think it is preferable to blow up when passed something like `0` rather than silently making a TCP connection.