Major refactoring of server.  Minor modifications to client.  Added c99 flag to Makefile.