httputil, search: more HTTP util usage, deleting code.

Change-Id: I90e51a3e8b3fdd868b26a40446f9715aaa7f89c0