Fix for Content-Length 411 Error from Flickr when uploading file

Had some problems with uploading to flickr lately - API.
Always got 411 Errors because lack of Content-Length in headers.