Simple echo server written in Python