Added GCM support. Updated RestClient.