New apns integration
Created by: gorillainduction
Summary:
- New persistent http2 connection to apns.
- All pushes now go through n20 process since we now keep state (the http2 connections)
- Current push tokens for apns are voip tokens. All voip pushes go through http2
- For auth records containing only one push token (i.e., voip tokens) the binary protocol is used for non-voip pushes (i.e., legacy protocol), since this works for some reason.
- There is a config (
apns_force_http)to force all pushes over http2 for testing. This can be toggled on and off by callingroster_apns_api:toggle_force_http(). - Renamed push api modules
- Removed redundant abstraction layer.