experinmental code on how to upgrade a socket server program with no down time, written in python