Hi, I downloaded your script, and it worked on a Canon Maxify MB2350 from Ubuntu 16.04 by removing line 56. I suggest you to make a test without that line.
I'm then keen on developing full WDS support either as a standalone application or as a SANE backend (better, but much complicated). Are you still interested in WSD? Would you like to evolve your project, maybe with my support, or do you have no free time for this repo? Unless you are interested in actively developing a robust application, I'd fork, but usually I prefer to ask before declaring a repo "dead" by myself.
Thank you for the code provided, it helped me a lot to bootstrap with the basics of this protocol and general python HTTP/XML handling.