Changes to gateway
Changes to gateway

 - Add RESUME_MAX_EVENTS
 - Make packet compression faster
 - Remove Connection.get_myself()
 - Invalidate on 10 used RESUMEs

nullpixel/litecord,nullpixel/litecord