Update node-apn to version 1.3.1.
Version 1.3.0 had a bug which crashed the server.