Sebastien Blanc possible solution is here: https://github.com/lfryc/aerogear-unifiedpush-server/tree/AGPUSH-1418
Unfortunately I can't test it as I don't get this exception on indicated browsers.