doc/example.lua: Update to use 'ready' event

verse.client: Fire 'ready' event on stream when resource binding or session negotiation is complete, hook this instead of binding-success

verse.plugins.session: Only negotiate session when support is advertised by the server, and not marked as optional (saves a round-trip in a lot of cases)

verse.plugins.compression: Remove some redundant debug logging

verse.plugins.session: Convert from spaces to tabs

verse.plugins.compression: Bump priority of stream-features handler to negotiate compression before resource binding

verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)

verse.client: Add stream:reset(), keep self.data static between resets

LICENSE: Add license (MIT/X11)

plugins.session: Convert from Windows line endings

(0) -10 +10 +100 +300 tip

mercurial