Network.py: Remove unused imports, cleanup imports

Get rid of the evil rename-while-import like "from os import path as os_path"
Remove some imports and vars that weren't being used.