A TCP server/client written in python