Optimizing Query Processing for the Hidden Web