The gcm endpoint url can now be set on the sender. 

The gcm endpoint constant will still be used by default if the endpoint url is not explicitly set.