ENYO-2344: use HttpError from `hermes/lib/httpError.js`

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>