Fix up the bug of that search ignore --proxy parameter.

Make search support http proxy.
Only http proxy is supported now.