Add (quite hacky) support for overriding gcm url