Update apns_connection.erl

Support latest binary interface and notification format