title: Multiple HTTP POST over single socket
body: <p>I am trying to send multiple HTTP POST over single socket connection , but EPIPE broken once I read inputstream.</p>
  
  <pre><code>mBufferedWriter.write("POST " + "/base/mypath" + " HTTP/1.1" + "\r\n");
  mBufferedWriter.write("Host: " + mIp + "\r\n");
  mBufferedWriter.write("Content-Length: " + json.toString().length()"\r\n");
  mBufferedWriter.write("Content-Type: application/json\r\n");
  mBufferedWriter.write("Connection: Keep-Alive\r\n\r\n");
  mBufferedWriter.write(json.toString() + "\r\n");
  mBufferedWriter.flush();
  </code></pre>
  
  <p>My first POST will reach server. Am trying to achieve pipelining. Set keep-alive for socket also</p>