Add a semaphore and concurrent queue class the server will likely need.

Let me know when C++ adds those natively so I can get rid of these.