protocol simulator: using flags to parse nodecount, pathlimit and bouncelimit.