Adds fix for content-lenght value missing for files uploaded via ActionD...

...ispatch:Http::UploadedFile
Would it work to handle this based on behavior rather than on class?  E.g., `responds_to(:size)` ?  That way, if the object responds to the size method, use it. (Alternatively, that might lead to weird behavior if payload is an Array...)