Remote control server in Python