Fixed up client to work with Python 2.6?