title: Ruby IMAP login error exception
body: <p>With my Ruby script:</p>
  
  <pre><code>imap = Net::IMAP.new('imap.gmail.com')
  imap.login("some_email@host.com", password)
  </code></pre>
  
  <p>I get the following exception:</p>
  
  <pre><code>A connection attempt failed because
  the connected party did not properly
  respond after a period of time, or
  established connection failed because
  connected hos has failed to respond. -
  connect(2)
  </code></pre>
  
  <p>What's wrong?</p>