Updated PortScanner.java