Vaadin upload component and contentLength

Would it be possible to get contentLength of the stream within Vaadin Upload.receiveUpload method?

I would need it for implementing file streaming to remote host. I did some digging and found out that client upload component doesn’t set the Content-Length header for files in multipart/form-data.