global-uid was crazily un-thread-safe before.  This fixes.

A threaded server will have to pay some cost in global uid setup, but
hey, at least it'll work.
Merge pull request #21 from zendesk/ben/thread_safety

global-uid was crazily un-thread-safe before.  This fixes.