Update to add optional headers to requests to amazon

We required this functionality to enable Server Side Encryption - we can now pass along a header to enable the server side encryption on any logs that are written to S3.

```
headers: {
  'x-amz-server-side-encryption': 'AES256'
}
```