Simple server in C with Python client