Merge "hal: add support to query hpx state using getparameter"