Add signature calculation

This commit adds signature calculation and payload canonicalization to
the gateway so that we can actually talk to the Amazon API