Update client.py

getClient is called many times, so hashes are recalculated again and again.. 
Please consider to put HashRing function in __init__ so it's called only once..
This change improves perfomance by x10 with only two hosts given..
Thanks a lot for the open source!!!