fix httpclient in WebDriverTestCase and add debug test
@bug W-2361519@
@rev byao@
Merging origin/gtorres/master-pending-testdebug into master