s3: Added support for subdomain calling format