implemented support for https://github.com/globaleaks/GlobaLeaks/issues/949

@hellais can you please take care of this?

i've already opened a twin pull on the GLClient: https://github.com/globaleaks/GLClient/pull/125