Improve security on QZ client

No potential critical impact, so just ignoring for now. If/when lots of users use it we can just go for the paid services of QZ which is 400$ per year (https://qz.io/)