Update hproseHttpClient.js

Replace the repetitive and unnecessary typeof operator with a reusable variable.
implemented client-side multicall.

use beginBatch & endBatch method for a batch call.
Merge pull request #1 from dsonet/patch-1

Update hproseHttpClient.js