Modifications to nexpect.py to make a classwide variable for recvsize