addresseed issue https://github.com/globaleaks/GlobaLeaks/issues/960

@hellais  ready to go? :)

this one has a twin sister on GLBackend: https://github.com/globaleaks/GLBackend/pull/224