Added argparse support to the client script.

This looks better than the last attempt.
This is not used anywhere, is it? If so, please remove.