NHZ.io http middleware helpers