Move GatewayClient wrapper functionality to a backend service.