Merge client and server into one program and argument parsing.