PortScanner built in Python, with threading