Echo server scripts in Python