Fixed a problem testing the default value of the s3.host property.
Updated to work with AWS4Signer.

Introduced the notion of a region. Moved version to 4.0.0 because the change was not backwards compatible. fixes #28