modified:   client.py - Start of adaptation to new protocol (TEST)