python stream server and client