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

@hellais can you please review this?

i'm also opening the twin pull request on the GLBackend repo