Add match case for rest_init return {halt, Req, HandlerState}