title: WARN Failed to send SSL Close message(Kafka SSL configuration issue)
body: <p>I have done broker and client configuration on same node. </p>
  
  <p>When <code>ssl.client.auth=none</code> it works fine but whenever I change that property to "required", <code>ssl.client.auth=required</code> and enabled <code>security.inter.broker.protocol=SSL</code> then it gives me an issue on producer side. </p>
  
  <pre><code>[2017-12-13 11:06:56,106] WARN Failed to send SSL Close message  (org.apache.kafka.common.network.SslTransportLayer)
  java.io.IOException: Connection reset by peer
          at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
          at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
          at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
          at sun.nio.ch.IOUtil.write(IOUtil.java:65)
          at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
          at org.apache.kafka.common.network.SslTransportLayer.flush(SslTransportLayer.java:194)
          at org.apache.kafka.common.network.SslTransportLayer.close(SslTransportLayer.java:161)
          at org.apache.kafka.common.network.KafkaChannel.close(KafkaChannel.java:45)
          at org.apache.kafka.common.network.Selector.close(Selector.java:442)
          at org.apache.kafka.common.network.Selector.poll(Selector.java:310)
          at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:256)
          at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:216)
          at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:128)
          at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>Any solution for this?</p>