Improve wdHttp to simulate $http interface.