The modified code stays compatible with Python2.
and average error when comparing client and server debug output.