A simple echo server in Python