Cleaned, compressed, and valgrind happy

Cleaned up code.
Supports: Index.html, index.htm, and default.htm
Support gzip compression
Added error handling
Added code to prevent memory leaks
Updated Makefile for Zlib

Tested both locally and on VM

Note: Zlib must be install for this to compile and run. I have
installed it on the VM already.
Could you add brackets around these conditionals? To be consistent with the style in the rest of the code