title: Pika/RabbitMq Socket closed on large message sent through SSL
body: <p>I am receiving an error ‘Socket closed when connection was open’ when sending a large message on an SSL connection to RabbitMq using Pika.</p>
  
  <p>The connection is a SelectConnection with TLSv1_2 protocol configuration</p>
  
  <p>It fails for messages bigger than 130kB.  Smaller messages go through fine.  Without SSL, the same code works for much larger messages, even tens of megabytes are passed around flawlessly.</p>
  
  <p>Environment:</p>
  
  <ul>
  <li>pika 0.10.0</li>
  <li>rabbitmq 3.6.9, erlang 19.2</li>
  <li>sender, receiver, and rabbitmq server on the same physical machine</li>
  <li>linux or macos </li>
  </ul>
  
  <p>Any suggestion on what is happening and how to fix it?</p>
  
  <p>thanks a lot</p>