Minor bugfixes & refactoring.

Refactored Makefile to make it more generic. Started work on
pthread_join on SIGINT. Added timestamps to log messages. Created
request & response init macros. Fixed bug where HTTP fields & values
weren't NULL-terminated (thanks for nothing strncpy()).