Minor adjustment to comments and read function
Changed read function to keep reading from an open connection until it
sees the termination symbol.
Some minor adjustments here and there as well.
There is a memory leak that I cannot trace for the life of me. It is 1
block of memory that remains after execution of program regardless of how
many requests it gets. It is "still reachable" however and I read online
that that was an acceptable state for memory leaks. Oh well, I'll try to
find it some other time.