Hostdb auto update
After this the hostdb is now automatically updating.
To help find an error, I introduced a safer type of mutex to the state. I think I'm going to make a new type of lock, perhaps in the same fashion as merkletree
, that will help determine when and where deadlock is happening. Between the new type of lock and the race libraries, we should be able to keep tighter control on our mutexes.