def strip_domain(jid)
      domain = jid.domain.split('.').drop(1).join('.')
      JID.new(domain)
    end
def strip_domain(jid)
      domain = jid.domain.split('.').drop(1).join('.')
      JID.new(domain)
    end
Return the third-level JID's domain with the first subdomain stripped off
 to create a second-level domain. For example, alice@tea.wonderland.lit
 returns wonderland.lit.