Added support for customizing the Gateway before it makes the HTTP request (as per #10)
Merge pull request #12 from DeuxHuitHuit/prepare-gateway

Prepare gateway: Adds the ability to customize the Gateway.