Added deferred-promise-gateway-sample.