Add S3 Support, changing the API a bit.

Extra empty line detected at body beginning.