added support for host:port via the commandline in pushwpt.py as well as minor cleanup
cleaned up some debugging