Fixed server-side segfault, numerous refactorings. Coalesced
server-side files into single "serverUtil.h/.c" and client-side
into single "clientUtil.h/.c"