Quick hack on the python demonstration script

Added commandline option and flag parsing to target host, port and strip length. Fixed a few variable names and slightly optimized code