[hello] fix compatibility for stateful handlers

Summary: branch yang

Test Plan: read

Reviewers: vtarasen

Reviewed By: vtarasen

CC: mkraemer, aschultz

Differential Revision: https://review.tpip.net/D1306