Added GatewayRequest headers support.