updated client.py and connection.py on folder Exercise 4