Removed ThreadPool usage in WebSocketServer.
Added tests.