An XMPP BOSH session pre-initializer for Ruby web applications