Make server more highly threaded

Add the threading mixin to the socket server to alleviate blocking
issues.