title: akkaHttp http request throws UnexpectedConnectionClosureException: The http server closed the connection
body: <p>I am trying to stream a request with the following flow, I am getting this response with any uri:</p>
  <pre><code>UnexpectedConnectionClosureException: The http server closed the connection unexpectedly before delivering responses for 1 outstanding requests
  </code></pre>
  <p>This is how my flow looks like :</p>
  <pre><code>  val responseFuture: Future[HttpResponse] =
            Source.single(HttpRequest(
  //fails for any uri
              uri = &quot;http://localhost:9090/xstreams/v1/offset/getOffset?appId=local-1543580292487&amp;sourceName=mysql&quot;)
            )
              .via(connectionFlow)
              .runWith(Sink.head)
  </code></pre>
  <p>This flow fails with any uri, what am i doing wrong ???</p>