Inspect your network connections using Python