Added GCM server code.