srv.py    PoC server side protocol