corrected buffer underflow in pysockit