Move gevent Queue knowledge out of SocketServer.