Update apns.js

1. Ensure port value not null, fix null port value cause push failed