improve HttpScanner