Update hproseHttpClient.js

Replace the repetitive and unnecessary typeof operator with a reusable variable.