Include BSD string for strlcpy
Put debug functionality behind -DDEBUG
Reorder headers
Remove old unused function
Better CFLAGS, LDFLAGS, compile all OBJS and compile correctly on linux
hide behind DEBUG
Major fixups - memory leaks, functionality

Hide more behind DEBUG
Fix memory leaks by free'ing contents and strings
Upload a file, download it's contents, delete