title: SSLv2 client getting TCP RST from stud
body: <p>At least I think stud is the culprit.</p>
  
  <p>My server setup is stud -> haproxy -> nginx -> express server</p>
  
  <p>Requests don't make it through to haproxy.</p>
  
  <p>I make a request with SSLv2:</p>
  
  <pre><code>import httplib
  c = httplib.HTTPSConnection("my-server.com")
  c.request("GET", "/foo/bar")
  response = c.getresponse()
  print response.status, response.reason
  data = response.read()
  print data
  </code></pre>
  
  <p>... and get back</p>
  
  <pre><code>socket.error: [Errno 54] Connection reset by peer
  </code></pre>
  
  <p>Here's the SSL dump:</p>
  
  <pre><code>New TCP connection #1: clientIP(29779) &lt;-&gt; my-server.com(443)
  1 1  0.0044 (0.0044)  C&gt;S SSLv2 compatible client hello
    Version 3.1 
    cipher suites
    TLS_DHE_RSA_WITH_AES_256_CBC_SHA  
    TLS_DHE_DSS_WITH_AES_256_CBC_SHA  
    TLS_RSA_WITH_AES_256_CBC_SHA  
    TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA  
    TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA  
    TLS_RSA_WITH_3DES_EDE_CBC_SHA  
    TLS_DHE_RSA_WITH_AES_128_CBC_SHA  
    TLS_DHE_DSS_WITH_AES_128_CBC_SHA  
    TLS_RSA_WITH_AES_128_CBC_SHA  
    Unknown value 0x9a  
    Unknown value 0x99  
    Unknown value 0x96  
    TLS_RSA_WITH_RC4_128_SHA  
    TLS_RSA_WITH_RC4_128_MD5  
    Unknown value 0xff  
  1    0.0047 (0.0002)  S&gt;C  TCP RST
  </code></pre>
  
  <p>Does anyone have any idea how to get stud to accept SSLv2 requests?</p>
  
  <p>Thanks</p>