code has been merged to java-apns;
now it's a matter of merging this one: https://github.com/aerogear/aerogear-unifiedpush-server/pull/283