GCM client realized like google documentation sample