Correctly parses client command line arguments