Add route_hdr() API to app server interface