python stream server / client