VertxOutputStream - modified to only flush to vertx response if content-length has been set.  Otherwise wait until close and set content-length