def get_multiple_client_msgs(self, **kwargs):
client_queue = self.client_queue<EOL>msgs = [client_queue.get(**kwargs)]<EOL>while client_queue.qsize():<EOL><INDENT>msgs.append(client_queue.get())<EOL><DEDENT>return msgs<EOL>
Get multiple messages, in case we're going through the various
        XHR-polling methods, on which we can pack more than one message if the
        rate is high, and encode the payload for the HTTP channel.