Endpoint server must use HTTPS and Self Signed Certificate is not acceptable.(so you have to use free certificate site like https://www.startssl.com/ or buy one)
Safari(user side) will connect your Endpoint server when
Ask a Package:
Safari will download your package (which is built in Step 3)
Validate information with website.json
If validation is successful, Requesting permission dialog will show up. Otherwise, it will ignore on User's screen and report message to your Endpoint server.
Register Device or remove device
When user accepts requesting permission, Safari will send device token and other information to your Endpoint server.
If it is registering, the method will be POST
If it is unregistering, the method will be DELETE
Logging Errors
When Error accrues, Safari will send report to your Endpoint server