A XMPP Gateway using Rails 4