use fgets to read from user.

The client now reads from stdin using fgets()
This is simply a recognition that the user input is always expected to be:
line oriented and plain ascii.