for compatibility with openstack swift s3 api(swift3)

We try to use amazon-s3-php-class as the php client for s3 like service whose backend is openstack swift(using swift3). It require the Content-length field or to throw out the 411 Length Required error. 

This pull request would solve above problem.