Support for excluding network paths

 Might still be a little bit buggy. More testing is needed.