updated procedures.h to have proper prototypes of all the functions in procedures.c, and, in client, pulled some network set-up out of the whike loop to fix the 'too many open files' error we were having, should work now.