Added user agent to SAPI client