haoyayoi/Net-APNS — pull request #2 by ipaponov (2011-12-21 00:52:32+00:00)
Title: Extensions to payload + bugfix

Hi haoyayoi!

Please check my extensions to payload. I've added custom namespace and sound property to aps namespace.
Plus I fixed a bug in the host determination algorithm. That sub always returned 'sandbox.' in my case and extra parentheses seems to fix that.