update HttpScanner.java implementation
update HttpScanner