libfreerdp-client: start splitting termination and printing logic for CLI parsing