[HapProcess] Add a mechanism to parse command line arguments.