The interface for APNS notifications.
static func func addConfigurationIOS(name nam: String, configurator: @escaping netConfigurator)
Add a configuration given a name and a callback.
A particular configuration will generally correspond to an individual app.
The configuration callback will be called each time a new connection is initiated to the APNS.
Within the callback you will want to set:
1. Path to chain file as provided by Apple: net.useCertificateChainFile("path/to/entrust_2048_ca.cer")
2. Path to push notification certificate as obtained from Apple: net.useCertificateFile("path/to/aps.pem")
3a. Password for the certificate's private key file, if it is password protected: net.keyFilePassword = "password"
3b. Path to the certificate's private key file: net.usePrivateKeyFile("path/to/key.pem")