Add host argument for S3 connection.

This resolves #9 where not specifying a host can cause 'broken pipe's
Merge pull request #10 from adamlwgriffiths/master

Add host argument for S3 connection.