Personally. I'd vote for endpoint mapping to be done in the Message Service with Topic based subscriptions. Just like GCM/GCM, Amazon, Apple, and Microsoft support.
- [whatwg] Push API and Endpoints Michael A. Peters
- Re: [whatwg] Push API and Endpoints Richard Maher