Fix connection.py
Fix network_util.py
Fix transport.py
Merge pull request #1 from Renelvon/listener-refactor

Pylint fixes