Clean net_simulator argument parsing.