add httpreq.js, a testing client by comparing json object.