networkg sandboxing fixes

in reference to: https://github.com/globaleaks/GlobaLeaks/issues/291