Fix loss of outgoing stanzas on reconnects

also, make AsyncQueue interface more similar to asyncio.Queue
Fix resumption of stream management