echoserver.py: Oops, increment client counter
client.c: Minor cleanup

Make sure not to leak a socket on a connection error