justintv/APNS — pull request #4 by ericmason (2012-08-29 21:57:00+00:00)
Title: Support multiple apps

The connections are cached by PEM in addition to by host and port in order to support pushing to multiple iOS apps form the same back-end app. Also to accommodate cases where the PEM data is not on the disk (in a DB, etc.) the PEM contents are passed in directly.