parses netstat and prints output correctly.