Optional 's3_server' setting

I use your script with DreamObjects, a S3-compatible service. Perhaps this additional configuration option would be handy for others as well.