Add len paramter for put api when using InputStream

Server response error if no Content-Length exists when uploading files