Update flatten-wsdl.py

Added an option to replace the localhost in the url with something else.