add xhttp.h and xrand.h.
Merge pull request #10 from tangbo2013/develop

add file: xhttp.h and xrand.h.