Ignore network processes based on a list

(Still extremely hacky)
Move everything into a class
Wrap top-level code in an "if" block
Ignore closed sockets

Not sure this is 100% safe...