Use int32_t for hashes as we want them signed to search up or down the tree
Dont include external includes with C linkage and close C linkage off
Remove FRAMEWORK_FLAG_NOTHREAD and running startthreads its now automagic
Unref thread in socket creation
Big rework of threads