Allow S3 region to be nil instead of empty string

Fixes SocketError: getaddrinfo: nodename nor servname provided, or not known
Merge pull request #152 from MaxGabriel/master

Allow S3 region to be nil instead of empty string