Started implementing parser hooks. Added uthash library.

Macro'd buffer read/writes. minor thread property refactoring. uthash
library added for hash table support to use with http headers. added
parser hooks into thread functions.